Code Monkey home page Code Monkey logo

microsoft-rewards-farmer's Introduction

Made with Python Built by Developers Uses Git Build with Love

███╗   ███╗███████╗    ███████╗ █████╗ ██████╗ ███╗   ███╗███████╗██████╗
████╗ ████║██╔════╝    ██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝██╔══██╗
██╔████╔██║███████╗    █████╗  ███████║██████╔╝██╔████╔██║█████╗  ██████╔╝
██║╚██╔╝██║╚════██║    ██╔══╝  ██╔══██║██╔══██╗██║╚██╔╝██║██╔══╝  ██╔══██╗
██║ ╚═╝ ██║███████║    ██║     ██║  ██║██║  ██║██║ ╚═╝ ██║███████╗██║  ██║
╚═╝     ╚═╝╚══════╝    ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚══════╝╚═╝  ╚═╝
       by Charles Bel (@charlesbel)          version 3.0

Maintained MIT

👋 Welcome to the future of automation

A simple bot that uses selenium to farm Microsoft Rewards written in Python

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

Installation

  1. Install requirements with the following command :

    pip install -r requirements.txt

  2. Make sure you have Chrome installed

  3. Install ChromeDriver:

    You no longer need to do this step since selenium >=4.10.0 include a webdriver manager

    To update your selenium version, run this command : pip install selenium --upgrade

  4. (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

  5. 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 ommit 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"
      }
    ]
  6. Run the script:

    python main.py

    Or if you want to keep it updated (it will check on each run if a new version is available, if so, will download and run it), use :

    python autoupdate_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)

Features

  • Bing searches (Desktop, Mobile and Edge) with User-Agents
  • Complete automatically the daily set
  • Complete automatically punch cards
  • Complete automatically the others promotions
  • Headless Mode
  • Multi-Account Management
  • Session storing (3.0)
  • 2FA Support (3.0)
  • Notifications (discord, telegram) (3.0)
  • Proxy Support (3.0)

Future Features

  • GUI

microsoft-rewards-farmer's People

Contributors

charlesbel avatar udu3324 avatar shoginn avatar nicoacu avatar haobinliang avatar aliasfoxkde avatar mixingsneax avatar eltociear avatar maskboyz avatar shinji257 avatar njhughessas avatar omarwastaken avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.