Skip to content

Commit

Permalink
Add to example
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Sep 19, 2024
1 parent 8c542f4 commit 05add3c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 32 deletions.
10 changes: 8 additions & 2 deletions data/example-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@

"TRACKERS": {
# Which trackers do you want to upload to?
# Available tracker: BLU, BHD, AITHER, STC, STT, SN, THR, R4E, HP, ACM, PTP, LCD, LST, PTER, NBL, ANT, MTV, CBR, RTF, HUNO, BHDTV, LT, PTER, TL, TDC, HDT, OE, RF, OTW, FNP, UTP, AL, HDB, PSS
# Available tracker: BLU, BHD, AITHER, STC, STT, SN, THR, R4E, HP, ACM, PTP, LCD, LST, PTER, NBL, ANT, MTV, CBR, RTF, HUNO, BHDTV, LT, PTER, TL, TDC, HDT, OE, RF, OTW, FNP, UTP, AL, HDB, PSS, ULCX
# Remove the trackers from the default_trackers list that are not used, to save being asked everytime
"default_trackers": "BLU, BHD, AITHER, STC, STT, SN, THR, R4E, HP, ACM, PTP, LCD, LST, PTER, NBL, ANT, MTV, CBR, RTF, HUNO, BHDTV, LT, PTER, TL, TDC, HDT, OE, RF, OTW, FNP, UTP, AL, HDB, PSS",
"default_trackers": "BLU, BHD, AITHER, STC, STT, SN, THR, R4E, HP, ACM, PTP, LCD, LST, PTER, NBL, ANT, MTV, CBR, RTF, HUNO, BHDTV, LT, PTER, TL, TDC, HDT, OE, RF, OTW, FNP, UTP, AL, HDB, PSS, ULCX",

"BLU": {
"useAPI": False, # Set to True if using BLU
Expand Down Expand Up @@ -240,6 +240,12 @@
"announce_url": "https://privatesilverscreen.cc/announce/customannounceurl",
# "anon" : False
},
"ULCX": {
"api_key": "ULCX api key",
"announce_url": "https://upload.cx/announce/customannounceurl",
# "anon" : False,
# "modq" : False ## Not working yet
},
"MANUAL": {
# Uncomment and replace link with filebrowser (https://github.com/filebrowser/filebrowser) link to the Upload-Assistant directory, this will link to your filebrowser instead of uploading to uguu.se
# "filebrowser" : "https://domain.tld/filebrowser/files/Upload-Assistant/"
Expand Down
33 changes: 3 additions & 30 deletions src/trackers/ULCX.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,9 @@ def __init__(self, config):
self.search_url = "https://upload.cx/api/torrents/filter"
self.signature = "\n[center][url=https://github.com/Audionut/Upload-Assistant]Created by L4G's Upload Assistant[/url][/center]"
self.banned_groups = [
"Tigole",
"x0r",
"Judas",
"SPDVD",
"MeGusta",
"YIFY",
"SWTYBLZ",
"TAoE",
"TSP",
"TSPxL",
"LAMA",
"4K4U",
"ION10",
"Will1869",
"TGx",
"Sicario",
"QxR",
"Hi10",
"EMBER",
"FGT",
"AROMA",
"d3g",
"nikt0",
"Grym",
"RARBG",
"iVy",
"NuBz",
"NAHOM",
"EDGE2020",
"FnP",
"Tigole", "x0r", "Judas", "SPDVD", "MeGusta", "YIFY", "SWTYBLZ", "TAoE", "TSP", "TSPxL", "LAMA", "4K4U", "ION10",
"Will1869", "TGx", "Sicario", "QxR", "Hi10", "EMBER", "FGT", "AROMA", "d3g", "nikt0", "Grym", "RARBG", "iVy", "NuBz",
"NAHOM", "EDGE2020", "FnP",
]

async def get_cat_id(self, category_name):
Expand Down

0 comments on commit 05add3c

Please sign in to comment.