/TrackerScreenshot

Automatically create screenshots of your stats and save it as PNG.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

TrackerScreenshot

Automatically create screenshots of your stats and save it as PNG, as who got the time to take screenshots manually? Currently it supports over 20 trackers and takes minutes to setup!

Supported Trackers:

- Aither (ATH)
- Bluetopia (BLU)
- Reelflix (RF)
- Speedapp (SP)
- Filelist (FL)
- Hawke-Uno (HUNO)
- LST (LST)
- GreatPosterWall (GPW)
- AnimeTorrents (ANT)
- Redacted (RED)
- SkipTheCommericals (STC)
- SkipTheTrailers (STT)
- AnimeBytes (AB)
- JME-ReUnit3D (JME)
- TheDarkCommunity (TDC)
- Cathode-Ray.tube (CRT)
- MyAnonaMouse (MAM)
- Nebulance (NBL)
- TorrentLeech (TL)
- Orpheus (OPS)
- Swarmazon (SZN)
- MoreThanTV (MTV)
- HD-Torrents (HDT)

It's easy to add new trackers. You can request it here or add it yourself.

Setup

To use the script, you need to have Python and PIP. Latest versions are recommended.

The script runs on Chrome Webdriver, therefore, you need to have Chrome installed. If you prefer Edge, refer to the end of the readme to do changes.

  • Create a folder with a name of your choice. Example: "screenshots-bot".
  • Clone or download the library into the folder.
  • Run pip install -r requirements.txt to install required libraries.
  • Edit config.ini with your details as instructed below. It's recommended to edit with Notepad++.
  • Run python screenshots.py in the terminal.
  • Screenshots will be generated for each tracker with the date and time.

Editing The Script

Steps

  • You only need to edit config.ini.
  • Remove unwanted trackers by renaming or deleting them from the trackers array.
  • Add your username, password, and profile link.
  • Make sure to repeat the steps above for each tracker you would like to screenshot.
  • (Optional) If you want to take full-screen screeshots, uncomment line 20 in screenshots.py: driver.maximize_window()

Use Edge Instead of Chrome

If you like to run it using Edge, you need to do the following changes. Before editing, we recommend using Chrome.

  • Remove line 3 and 4: from selenium.webdriver.chrome.options import Options and from webdriver_manager.chrome import ChromeDriverManager.
  • Add the following instead: from selenium.webdriver.edge.service import Service as EdgeService and from webdriver_manager.microsoft import EdgeChromiumDriverManager
  • Remove line 15 and 16: options = Options() and options.headless = False.
  • Remove line 19: driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
  • Replace it with driver = webdriver.Edge(service=EdgeService(EdgeChromiumDriverManager().install())).

This script was tested on Windows and Debian.

Special thanks to FluxVelocorapotor and allegedlyundead for adding new trackers!