You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If you are multi-accounting and abusing the service for which this is intended - *
13
-
*_DO NOT COMPLAIN ABOUT BANS!!!_**
12
+
> If you are multi-accounting and abusing the service for which this is intended - **_DO NOT COMPLAIN ABOUT BANS!!!_**
14
13
15
14
16
15
@@ -32,9 +31,8 @@
32
31
## Installation
33
32
34
33
1. Install requirements with the following command :
35
-
```sh
36
-
pip install -r requirements.txt
37
-
```
34
+
35
+
`pip install -r requirements.txt`
38
36
39
37
Upgrade all required with the following command:
40
38
`pip install --upgrade -r requirements.txt`
@@ -44,162 +42,61 @@
44
42
3. (Windows Only) Make sure Visual C++ redistributable DLLs are installed
45
43
46
44
If they're not, install the current "vc_redist.exe" from
47
-
this [link](https://learn.microsoft.com/en-GB/cpp/windows/latest-supported-vc-redist?view=msvc-170)
48
-
and reboot your computer
49
-
50
-
4. Run the script with the following arguments:
51
-
```sh
52
-
python main.py -C
45
+
this [link](https://learn.microsoft.com/en-GB/cpp/windows/latest-supported-vc-redist?view=msvc-170) and reboot your
46
+
computer
47
+
48
+
4. Edit the `accounts.json.sample` with your accounts credentials and rename it by removing `.sample` at the end.
49
+
50
+
The "totp" field is not mandatory, only enter your TOTP key if you use it for 2FA (if ommitting, don't keep
51
+
it as an empty string, remove the line completely).
52
+
53
+
The "proxy" field is not mandatory, you can omit it if you don't want to use proxy (don't keep it as an empty string,
54
+
remove the line completely).
55
+
56
+
- If you want to add more than one account, the syntax is the following:
57
+
58
+
```json
59
+
[
60
+
{
61
+
"username": "Your Email 1",
62
+
"password": "Your Password 1",
63
+
"totp": "0123 4567 89ab cdef",
64
+
"proxy": "http://user:pass@host1:port"
65
+
},
66
+
{
67
+
"username": "Your Email 2",
68
+
"password": "Your Password 2",
69
+
"totp": "0123 4567 89ab cdef",
70
+
"proxy": "http://user:pass@host2:port"
71
+
}
72
+
]
53
73
```
54
74
55
-
5.Open the generated `config.yaml` file and edit it with your information.
75
+
5.Run the script:
56
76
57
-
The "totp" field is not mandatory, only enter your TOTP key if you use it for 2FA (if
58
-
ommitting, don't keep it as an empty string, remove the line completely).
77
+
`python main.py`
59
78
60
-
The "proxy" field is not mandatory, you can omit it if you don't want to use proxy (don't
61
-
keep it as an empty string, remove the line completely).
79
+
6. (Windows Only) You can set up automatic execution by generating a Task Scheduler XML file.
62
80
63
-
You can add or remove accounts according to your will.
81
+
If you are a Windows user, run the `generate_task_xml.py` script to create a `.xml` file. After generating the file, import it into Task Scheduler to schedule automatic execution of the script. This will allow the script to run at the specified time without manual intervention.
64
82
65
-
the "apprise.urls" field is not mandatory, you can remove it if you don't want to get notifications.
83
+
To import the XML file into Task Scheduler, see [this guide](https://superuser.com/a/485565/709704).
66
84
67
-
6. Run the script:
68
-
```sh
69
-
python main.py
70
-
```
71
85
72
-
(Windows Only) You can also run the script wrapper that will detect your python installation
73
-
and re-run the script if it crashes using `.\MsReward.ps1` (`.\MsReward.ps1 -help` for more
74
-
information). To allow script execution without confirmation, use the following command:
0 commit comments