Skip to content

A simple bot that uses selenium to farm M$ Rewards in Python

License

Notifications You must be signed in to change notification settings

LtCMDstone/MS-Rewards-Farmer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple bot that uses selenium to farm M$ Rewards in Python

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

Original bot by @charlesbel - refactored and updated by @klept0 and the community

Static Badge MIT Maintained GitHub contributors GitHub issues

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 : https://learn.microsoft.com/en-GB/cpp/windows/latest-supported-vc-redist?view=msvc-170

  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 it 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

  • -v/--visible to disable headless
  • -l/--lang to force a language (ex: en)
  • -g/--geo to force a geolocation (ex: US)
  • -p/--proxy to add a proxy to the whole program, supports http/https/socks4/socks5 (overrides per-account proxy in accounts.json) (ex: http://user:pass@host:port)
  • -t/--telegram to add a telegram notification, requires Telegram Bot Token and Chat ID (ex: 123456789:ABCdefGhIjKlmNoPQRsTUVwxyZ 123456789)
  • -d/--discord to add a discord notification, requires Discord Webhook URL (ex: https://discord.com/api/webhooks/123456789/ABCdefGhIjKlmNoPQRsTUVwxyZ)
  • -vn/--verbose notifications to notification listeners (discord, telegram)

Features

  • Bing searches (Desktop, Mobile and Edge) with current User-Agents
  • Complete the daily set automatically
  • Complete punch cards automatically
  • Complete the others promotions automatically
  • Headless Mode - not recommended
  • Multi-Account Management
  • Session storing (3.0)
  • 2FA Support (3.0)
  • Notifications (discord, telegram) (3.0)
  • Proxy Support (3.0) - they need to be high quality proxies
  • Logs to CSV file for point tracking

Notes

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

To Do List

  • Complete shopping game - currently disabled
  • Complete Edge game tab - currently disabled
  • Complete "Read To Earn" (30 pts)
  • Setup flags for mobile/desktop search only
  • Pull Telegram and Discord info to json files so you don't need to input them on command line. (partial groundwork done)

About

A simple bot that uses selenium to farm M$ Rewards in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%