Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Crissal1995/automsr

Repository files navigation

AutoMSR

PyPI - Version PyPI - Python Version Checks

Description

AutoMSR is an automation tool created for educational purpose, intending to show how to use Selenium as an automation driver for the Microsoft Rewards service.

What it does

This tool is intended to show how to collect automatically daily points for Microsoft Rewards.

What is included:

  • Daily promotions completed.
  • Other activities completed.
  • Free punchcards completed.
  • Searches with a desktop User Agent completed.
  • Searches with a mobile User Agent completed.

Warning

Before using this software, read carefully the Microsoft Terms of Service, section Microsoft Rewards.

TL;DR: the usage of AutoMSR could lead in a ban.

Setup

Installation

$ pip install automsr  # this will install the binary `automsr`

Configuration

AutoMSR behaviour can be configured using a config.yaml file.

An example with every input described in detail is found here: link.

Chromedriver

Download the correct Chromedriver matching your Chrome version.

Usage

Help

$ automsr --help

Execute AutoMSR

$ automsr run

# config.yaml is somewhere else than current directory
$ automsr run --config path/to/a/config.yaml

Generate automatically a Config file

$ automsr init

Retrieve local Chrome profiles

$ automsr profiles
# ChromeProfile(displayed_name='yourProfileName', path=Path('generic/profile/dir'))

$ automsr profiles --format pretty-json
# [
#     {
#         "displayed_name": "yourProfileName",
#         "path": generic/profile/dir"
#     }
# ]

Check that email sending works

$ automsr email