Skip to content

mastiffmushroom/TrackerAutoLogin

Repository files navigation

TrackerAutoLogin

Github URL: https://github.com/mastiffmushroom/TrackerAutoLogin

Dockerhub URL: https://hub.docker.com/r/mastiffmushroom/trackerautologin

Unraid CA Forum URL: https://forums.unraid.net/topic/135837-support-mastiffmushroom-trackerautologin/

This is a docker file to automate the logging in of torrent trackers every few hours so your account can stay active and you can still have access to downloading your Linux install files.

DISCLAIMER: This software doesn't download any illegal files, it simply logs in with pre-given credentials. I do not condone using this software to illegally obtain items.

Currently supported sites

  • Aither (Aither.cc)
  • AlphaRatio (AlphaRatio.cc)
  • Blutopia (Blutopia.xyz)
  • CathodeRayTube (Cathode-Ray.tube)
  • ExtremeBits (Extremebits.net)
  • Gay-Torrents (Gay-Torrents.org)
  • HappyFappy (HappyFappy.org)
  • HD-Space [mostly working] (HD-Space.org)
  • IPTorrents (IPTorrents.com) [CURRENTLY NOT WORKING DUE TO CLOUDFLARE]
  • Immortal Seed (ImmortalSeed.me)
  • LST (LST.gg)
  • MyAnonmouse (MyAnonamouse.net)
  • MoreThanTV (MoreThanTV.me)
  • Pornbay (Pornbay.org)
  • PussyTorrents (PussyTorrents.org)
  • TorrentLeech (TorrentLeech.org)
  • TorrentSeeds (TorrentSeeds.org)
  • TV Vault (TV-Vault.me)

Requesting more sites:

To request more sites, please open an issue on github in the following format

  • LOGIN URL: Post the login url (prior to logging in)
  • POST LOGIN URL: Post the post login url (after logging in), if there's a username in the url, please replace it with [REDACTED]
  • LOGIN TITLE: Post the title of the page of the website after logging in

After updating tracker_config.json I will notify you and ask you to please try running TAL again to see if you get a successful login.

Configuration

This software uses Docker, so please look into how to install it on Docker. As I run linux, I will only be able to tell you how to run it on linux.

The configuration files are loaded under config/. On the github page, it has an example of each one, and on the first runtime it will download these directly from the github and put them in the corresponding config/ folder. If you mount your host path to the container, you can edit these from the container and maintain persistance with updates.

The code lookds for user_config.json while config/ only has user_config_sample.json to give you an idea on how to fill it out. You only need to put in information for websites that you have login details for -- otherwise the login will fail.

LogLevel is the level you want to write logs to. All logs are written inside the docker container to /app/config/logs/trackerautologin.log. LogLevel takes 3 values [debug, warning, error].

LogType takes two different parameters, file or stderr. If file, it will output to trackeruatologin.log but if stderr is configured, then it will output to standard error (docker log file in Unraid).

Hours_Rerun in the config file is the maximum number of hours to to wait before each run. What this software does, is it chooses a random range between Hours_Rerun/2 and Hours_Rerun before attempting the next rerun. The reason for this is if some sites have bot login detection, it will be much harder to detect if you're not logging in the same time every day.

CheckConnectionURL is a configurable parameter. What you feed in here is a URL that you want to check against to make sure you're connected to the internet. It will try to load this webpage each time to make sure that you have an internet connection before trying to log into the trackers. If the connection to this URL fails, it will skip trying the trackers.

How to Run

You can run this 4 different ways

Docker compose

version: '3.3'
services:
    trackerautologin:
        container_name: trackerautologin
        image: mastiffmushroom/trackerautologin
        environment:
          - PUID=1000
          - PGID=1000  
          - UMASK=000 #PGID PUID UMASK should be updated to match your env
          - TZ=America/Toronto #update to your timezone
        volumes:
            - /path/on/your/system/:/app/config/ #specify your config file location
        restart: unless-stopped

Create a compose.yaml file at /path/to/TrackerAutoLogin/ and a config folder at /path/to/TrackerAutoLogin/config/. Run it using docker compose up -d.

Navigate to /path/to/TrackerAutoLogin/config/ and enter your login details into user_config.json. Save the file, then re-run docker compose up -d

Directly on your machine

cd /path/to/TrackerAutoLogin/
docker build . -t trackerautologin
docker run -v /path/on/your/system/:/app/config/ -it trackerautologin

After running this, stop the run, navigate to /path/on/your/system/ and update the user_config.json with your login instructions for each of the trackers that you have access to.

Through dockerhub

docker pull mastiffmushroom/trackerautologin

Then you can simply run it using the same command as above

docker run -v /path/on/your/system/:/app/config/ -it mastiffmushroom/trackerautologin

Note about running locally

To view the log file, you first need to run docker ps and get the phrase in the format of word1_word2 under the NAME column. For the example below, replace WORD1_WORD2 with what you found in the NAME column.

docker exec -it WORD1_WORD2 bash
cd /app/config/logs/
more trackerautologin.log

Unraid Community Applications

This app is now located on the Unraid Community Applications and can be ran as a typical app there as well.

Future work

One thing I would like to add to this is for it to take a screenshot of your profile stats with every successful login, with it keeping the most recent 5 photos. The benefit of this is that you will always have your stats on how much data you shared when you downloaded your Linux isos.

About

Automatically logs in to private trackers to keep your current status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •