klept0 / MS-Rewards-Farmer

A simple bot that uses Selenium to farm M$ Rewards in Python
MIT License
160 stars 34 forks source link
bot python python-script selenium

A "simple" python application that uses Selenium to help with your M$ Rewards


Static Badge MIT Maintained GitHub contributors GitHub issues


[!IMPORTANT] If you are multi-accounting and abusing the service for which this is intended - DO NOT COMPLAIN ABOUT BANS!!!


[!CAUTION] Use it at your own risk, M$ may ban your account (and I would not be responsible for it)

Do not run more than one account at a time.

Do not use more than one phone number per 5 accounts.

Do not redeem more than one reward per day.


Group Chat - Telegram (pay attention to captchas - helps prevent spam)

Original bot by @charlesbel - refactored/updated/maintained by @klept0 and a community of volunteers.

PULL REQUESTS ARE WELCOME AND APPRECIATED!


Installation

  1. Install requirements with the following command :

    pip install -r requirements.txt

    Upgrade all required with the following command: pip install --upgrade -r requirements.txt

  2. Make sure you have Chrome installed

  3. (Windows Only) Make sure Visual C++ redistributable DLLs are installed

    If they're not, install the current "vc_redist.exe" from this link and reboot your computer

  4. Edit the accounts.json.sample with your accounts credentials and rename it by removing .sample at the end.

    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, remove the line completely).

    • If you want to add more than one account, the syntax is the following:
    [
     {
       "username": "Your Email 1",
       "password": "Your Password 1",
       "proxy": "http://user:pass@host1:port"
     },
     {
       "username": "Your Email 2",
       "password": "Your Password 2",
       "proxy": "http://user:pass@host2:port"
     }
    ]
  5. Run the script:

    python main.py


Launch arguments


[!TIP] If you are having issues first ask - did I make sure I have updated all of the files and cleared the sessions folder before running again?

[!TIP] Have I tried to run it with -v so I could see what might be causing the error?

Features


[!NOTE] You may see [WARNING] in your logs - this is currently enabled for debugging and to provide in any issues you may need to open

To Do List (When time permits or someone makes a PR)