Skip to content

Commit

Permalink
fix: add alldebrid as option in mediafusion
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Dec 5, 2024
1 parent 44f047e commit 42829a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/program/services/scrapers/mediafusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ def validate(self) -> bool:
elif self.app_settings.downloaders.torbox.enabled:
self.api_key = self.app_settings.downloaders.torbox.api_key
self.downloader = "torbox"
elif self.app_settings.downloaders.all_debrid.enabled:
self.api_key = self.app_settings.downloaders.all_debrid.api_key
self.downloader = "alldebrid"
else:
logger.error("No downloader enabled, please enable at least one.")
return False
Expand Down

0 comments on commit 42829a2

Please sign in to comment.