Skip to content

Commit

Permalink
BHD - fix tmdb searching instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Sep 20, 2024
1 parent 2f42eb8 commit ec68b64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/trackers/BHD.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, config):
self.tracker = 'BHD'
self.source_flag = 'BHD'
self.upload_url = 'https://beyond-hd.me/api/upload/'
self.signature = "\n[center][url=https://beyond-hd.me/forums/topic/toolpython-l4gs-upload-assistant.5456/post/138087#post-138087]Created by L4G's Upload Assistant[/url][/center]"
self.signature = "\n[center][url=https://github.com/Audionut/Upload-Assistant]Created by L4G's Upload Assistant[/url][/center]"
self.banned_groups = ['Sicario', 'TOMMY', 'x0r', 'nikt0', 'FGT', 'd3g', 'MeGusta', 'YIFY', 'tigole', 'TEKNO3D', 'C4K', 'RARBG', '4K4U', 'EASports', 'ReaLHD']
pass

Expand Down Expand Up @@ -218,11 +218,15 @@ async def search_existing(self, meta):
console.print("[yellow]Searching for existing torrents on site...")
category = meta['category']
if category == 'MOVIE':
tmdbID = "movie"
category = "Movies"
if category == "TV":
tmdbID = "tv"
data = {
'action': 'search',
'imdb_id': meta['imdb_id'],
'tmdb_id': f"{tmdbID}/{meta['tmdb']}",
'categories': category,
'types': await self.get_type(meta),
}
# Search all releases if SD
if meta['sd'] == 1:
Expand Down

0 comments on commit ec68b64

Please sign in to comment.