Skip to content

Commit

Permalink
Fixed AD not working with movies
Browse files Browse the repository at this point in the history
  • Loading branch information
aymene69 committed Nov 25, 2024
1 parent 4f2ca1e commit d4c2aef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/debrid/alldebrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ def get_stream_link(self, query_string, ip):
elif season_episode_in_filename(file["n"], season, episode, strict=False):
matching_files.append(file)
rank += 1
print("aaaaaaaaaaaaaaaaaaaaa")
print(strict_matching_files)

if len(strict_matching_files) > 0:
matching_files = strict_matching_files

Expand Down Expand Up @@ -100,7 +99,6 @@ def get_stream_link(self, query_string, ip):
return unlocked_link_data["data"]["link"]

def get_availability_bulk(self, hashes_or_magnets, ip=None):
print(hashes_or_magnets)
torrents = f"{self.base_url}magnet/status?agent=jackett&apikey={self.config['debridKey']}&ip={ip}"
ids = []
for element in self.get_json_response(torrents)["data"]["magnets"]:
Expand Down

0 comments on commit d4c2aef

Please sign in to comment.