/bing-rewards-working

An automated solution using Python and Selenium for earning daily Microsoft Rewards points in all categories including web, mobile, and offers. | Copy of the repo from bitbucket

Primary LanguagePythonMIT LicenseMIT

An automated solution using Python and Selenium for earning daily Microsoft Rewards points in all categories including web, mobile, and offers.

Please note:

  • only USA website guaranteed to be supported
  • multiple accounts NOT supported

Background/history

On 1/25/2023, the https://github.com/jjjchens235/bing-rewards was disabled by GitHub. For now at least, this will be the new remote.

Currently, the main goal for me is to continue using this repo as a space to learn. And if even a few people can make use of this repo, then that will be an added bonus.

Since the user pool should now be close to zero, I think it will also be a good chance to finally implement multiple accounts.

Getting Started (Local set-up)

Note: If using Docker, go directly to /docs/docker_setup for further instructions

  1. Download Chrome or Edge
  2. Install Python3
  3. Install requirements.txt file included in the repo: pip install -r BingRewards/requirements.txt.
  4. Create/update config file by running python BingRewards/setup.py .
    • Please note: Your credentials will be stored as base64 encoded text.
  5. You must have signed onto your account using this machine before. Open Chrome or Edge and visit https://login.live.com. The site may ask to send you a verification email or text.
  6. Run python BingRewards/BingRewards.py to start earning points.
    • You may need to add -nsb flag if running on Linux, including for Docker
  7. Occasionally, update to the latest code by running ./bing-rewards-master/update.sh
  8. Optional alerting: You can receive alerting for the following services, instructions below for each service. See docs/ folder for more info.
    • Telegram
    • Discord
    • Google Sheets

Additional info

There is additional info in the /docs/ folder for the following:

  • docker set-up
  • telegram/discord/google sheets set-up
  • automated scheduling
  • login options (passwordless set-up)

Command Line Arguments

There are a growing number of command line argument options. Here are a few to note:

  • -r or --remaining: remaining tasks - this is the default option
  • -nhl or --no-headless: Don't run in headless mode. This is a non-default option.
  • -nsb or --no-sandbox: Run browser in no-sandbox mode. Useful for Linux. This is a non-default option.

To see remaining argument options, please run:

python BingRewards.py -h

Examples

The following python BingRewards.py actually translates to python BingRewards.py -r -hl -d chrome, i.e run the remaining searches in chrome headless mode.

Here's an example of running non-default arguments python BingRewards.py -w -nhl -e my_email@gmail.com -p, i.e run web searches in non-headless mode with specified email, the password will be prompted for separately.

Acknowledgment

  • The original author took down the code from their GitHub back in July 2018. The author gave me permission to re-upload and maintain, but wishes to stay anonymous. I will continue to maintain until this page says otherwise.
  • UK quiz updates by chris987789
  • 2FA code by revolutionisme
  • Telegram notifications by hoseininjast
  • Punch card, dashboard json, This or That perfect score, and more based on Charles Bel's wonderful repo.
  • Microsoft Edge support by Summon528