3155b545dc | ||
---|---|---|
.github/ISSUE_TEMPLATE | ||
modules | ||
user_data | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
V4.py | ||
main.py | ||
requirements.txt |
README.md
MsReward
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 webhook or SQL to log points everydays.
Using Selenium and geckodriver.
If you're using docker (way easier)
to use docker, run
sudo docker build .
#copy the build id
docker run -ti --name MsRewards [build id]
Then, fill the config and start the programm everydays with
docker start MsRewards
Other configuration
To use the database, I recommand MySql, Create a database with the name you want and create a table daily
, like the one from the image :
You have to use the default worldlist (sudo apt install wfrench
). The language is french by default, but you can change it if you want.
You can add a link to a website where content is only the link of the monthly fidelity card.
You should limit to 6 account per IP, and DON'T USE outlook account, they are banned.
If you're not using docker
installation recommandation :
curl -sSLO https://download-installer.cdn.mozilla.net/pub/firefox/releases/91.9.1esr/linux-x86_64/en-US/firefox-91.9.1esr.tar.bz2
tar -xjf firefox-91.9.1esr.tar.bz2
sudo mv firefox /opt/
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
curl -sSLO https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz
tar zxf geckodriver-v0.31.0-linux64.tar.gz
mv geckodriver /usr/bin/