Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
/primelooterPublic archive

A small python bot which automatically claims amazon prime gaming loot :D

License

NotificationsYou must be signed in to change notification settings

sibalzer/primelooter

Repository files navigation

THIS PROJECT IS NO LONGER MAINTAINED! Please usesrhinos fork from now on.

Primelooter

GitHub tag (latest by date)PythonGitHub license

Python bot which automatically claimstwitch amazon prime gaming loot :D

Usage

1. ⚙️ General Setup

Local 📌

  1. Install python3
  2. Install package requirements:$> pip install -r requirements.txt
  3. Install playwright:$> python -m playwright install
  4. Create your own cookies.txt and publishers.txt (see example files)

Docker 🐳

If you want to use the provided docker image (only linux/amd64 plattform for now) you must mount theconfig.txt andproviders.txt into the/app path. (example compose file is provided)

2. 🍪 Generate a cookie.txt (Firefox)

  1. Install this addon:cookie.txt
  2. Goto:https://gaming.amazon.com
  3. Login with your credentials
  4. There should be a new add-on icon in the right corner. Click on it and Export Cookies->Current Site

(Be careful not to share your cookie.txt! Keep it a secret like your credentials)

3. 🏢 Create a publishers.txt

Create a publishers.txt like the example file. Each line represents the publisher name used on thehttps://gaming.amazon.com website (add 'all' to claim all offers).

4. 🏃 Run

The script offers multiple arguments:

  • -c | --cookie: Path to cookies.txt file
  • -p | --publishers: Path to publishers.txt file
  • -l | --loop: loops the script with a cooldown of 24h
  • --dump: print the html-index page (used for issues/website changes)
  • -d | --debug: Print debug messages (used for issues)
  • -nh | --no-headless: starts the script with a visible browser (mainly for debugging)

If you use docker simply start the container.

If you want to use cron.d instead of letting the script wait 24h you must create a new file under/etc/cron.d. Example:

0 0 * * * root : Primelooter ; /usr/bin/python3 /path/to/primelooter.py --cookie /path/to/cookie.txt --publishers /path/to/publishers.txt

ko-fi

Disclaimer

Use this bot at your own risk! For more information read thelicense file.

About

A small python bot which automatically claims amazon prime gaming loot :D

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

    Packages

     
     
     

    [8]ページ先頭

    ©2009-2025 Movatter.jp