Add config file

This commit is contained in:
augustin64
2022-02-17 12:57:51 +01:00
parent 0e5bc99779
commit 3df7d09c40
2 changed files with 54 additions and 37 deletions

View File

@ -2,8 +2,19 @@
A Microsoft reward automator, designed to work headless on a raspberry pi. Tested with a pi 3b+ and a pi 4 2Gb .
Using a discord bot to log eveything.
Using a discord webhook to log everything.
Using Selenium and geckodriver.
you have to put your credentials in the same folder as the script, in a file named `login.csv`. You have to put info this way : `email,password`
you have to put two discord webhook links, the first one for success and the second one for failure, separated with a coma, in the same folder as the script, in a file named `webhook.txt`
You have to create a file named config, containing the following :
```
[DEFAULT]
motpath = # Path to liste.txt file
logpath = # Path to login.csv file
successlink = # Link of the webhook to log success
errorlink = # Link of the webhook to log errors
embeds = True # Send embeds instead of text
Headless = True # Run Headless
Log = False # Show Logs
```
you have to put your credentials in the same folder as the script, in a file named `login.csv`. You have to put info this way : `email,password`
you have to put a list with a dictionnary in the same folder as the script, in a file named `liste.txt` .It should have a lot of words, used to make random search on bing, as shown in the example file.