Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create tracker classes so the code is DRY #6

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ config.ini
screenshots
downloaded_files
__pycache__
secrets.ini
35 changes: 23 additions & 12 deletions config.ini.example
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#This config file holds all of your data.

[settings]
# Browser to use for screenshots. Options are: chrome, firefox, edge, safari, brave, opera
# If using brave or opera, you need to specify the binary location.
browser = chrome
binary_location = C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe
# Set to true if you want to take full page screenshots. Set to false if you want to take only the visible part of the page.
full_page_screenshot = false
# Set to true if you want to store the 2FA secrets and use them for auto-filling 2FA codes.
auto_2fa = false

#List of supported trackers. Remove the trackers that you don't want to screenshot. Only keep what you want.
# List of supported trackers. Remove the trackers that you don't want to screenshot. Only keep what you want.
[wanted-trackers]
trackers = ["AB", "ANT", "ATH", "BHD", "BLU", "BTN", "CRT", "FL", "GGN", "GPW",
"HDT", "HUNO", "JME", "LST", "MAM", "MTV", "NBL", "OPS", "OTW", "PTP",
"RED", "RF", "SP", "STC", "STT", "SZN", "TDC", "TL"]
trackers = ["aither", "animetorrents", "animebytes", "beyond-hd", "blutopia", "broadcasthenet", "cathode-raytube", "filelist", "gazellegames", "greatposterwall", "hdtorrents",
"huno", "jme", "lst", "morethantv", "myanonamouse", "nebulance", "oldtoons", "orpheus", "passthepopcorn", "redacted", "reelflix", "skipthecommercials",
"skipthetrailers", "speedapp", "swarmazon", "thedarkcommunity", "torrentleech"]

#Referance: ["AB", "ANT", "ATH", "BHD", "BLU", "BTN", "CRT", "FL", "GGN", "GPW",
# "HDT", "HUNO", "JME", "LST", "MAM", "MTV", "NBL", "OPS", "OTW", "PTP",
# "RED", "RF", "SP", "STC", "STT", "SZN", "TDC", "TL"]
# Reference: ["aither", "animetorrents", "animebytes", "beyond-hd", "blutopia", "broadcasthenet", "cathode-raytube", "filelist", "gazellegames", "greatposterwall", "hdtorrents",
"huno", "jme", "lst", "morethantv", "myanonamouse", "nebulance", "oldtoons", "orpheus", "passthepopcorn", "redacted", "reelflix", "skipthecommercials",
"skipthetrailers", "speedapp", "swarmazon", "thedarkcommunity", "torrentleech"]

#Edit the trackers you want to use with your details.
[aither]
Expand Down Expand Up @@ -47,7 +47,7 @@ profile_url = https://hawke.uno/users/XXX
[speedapp]
username = YOUR USERNAME
password = YOUR PASSWORD
#Do Not Change the URL
# DO NOT CHANGE
profile_url = https://speedapp.io/profile/

[filelist]
Expand All @@ -66,6 +66,8 @@ profile_url = https://greatposterwall.com/user.php?id=XXX
username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://animetorrents.me/user-profile.php?uid=XXX
# DO NOT CHANGE
login_url = https://animetorrents.me/login.php

[redacted]
username = YOUR USERNAME
Expand All @@ -86,11 +88,14 @@ profile_url = https://skipthetrailers.xyz/users/XXX
username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://animebytes.tv/user.php?id=XXX
login_url = https://animebytes.tv/user.php

[jme]
username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://jme-reunit3d.de/users/XXX
# DO NOT CHANGE
login_url = https://jme-reunit3d.de/login

[thedarkcommunity]
username = YOUR USERNAME
Expand All @@ -101,6 +106,8 @@ profile_url = https://thedarkcommunity.cc/users/XXX
username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://www.cathode-ray.tube/user.php?id=XXX
# DO NOT CHANGE
login_url = https://www.cathode-ray.tube/login

[myanonamouse]
username = YOUR EMAIL
Expand All @@ -117,17 +124,19 @@ username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://www.torrentleech.org/profile/XXX/

#ORPHEUS DOES NOT WORK WITH 2FA
[orpheus]
username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://orpheus.network/user.php?id=XXXX
# DO NOT CHANGE
login_url = https://orpheus.network/login.php

[swarmazon]
username = YOUR USERNAME
password = YOUR PASSWORD
#Do not change the URL
# DO NOT CHANGE URLS
profile_url = https://swarmazon.club/en/view/my-statistics.php
login_url = https://swarmazon.club/en/account/login.php

[morethantv]
username = YOUR USERNAME
Expand All @@ -138,6 +147,8 @@ profile_url = https://www.morethantv.me/user.php?id=XXX
username = YOUR USERNAME
password = YOUR PASSWORD
profile_url = https://hd-torrents.org/usercp.php?uid=XXX
# DO NOT CHANGE
login_url = https://hd-torrents.org

[broadcasthenet]
username = YOUR USERNAME
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
seleniumbase==4.27.4
Selenium-Screenshot==2.1.0
black==24.4.2
black==24.4.2
argon2-cffi==23.1.0
cryptography==43.0.1
pyotp==2.9.0
Loading
Loading