Skip to content

Commit

Permalink
fix!: Torbox Removal (#971)
Browse files Browse the repository at this point in the history
* fix!: remove torbox scraping and downloading. #970

* chore: update python packages and remove more torbox stuff

* fix: remove tb downloader completely
  • Loading branch information
dreulavelle authored Jan 18, 2025
1 parent 8a5e849 commit 5d49499
Show file tree
Hide file tree
Showing 10 changed files with 837 additions and 1,122 deletions.
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ RIVEN_DOWNLOADERS_REAL_DEBRID_ENABLED=false
RIVEN_DOWNLOADERS_REAL_DEBRID_API_KEY=
RIVEN_DOWNLOADERS_ALL_DEBRID_ENABLED=false
RIVEN_DOWNLOADERS_ALL_DEBRID_API_KEY=
RIVEN_DOWNLOADERS_TORBOX_ENABLED=false
RIVEN_DOWNLOADERS_TORBOX_API_KEY=

#-------------------------------------
# Content
Expand Down Expand Up @@ -144,8 +142,6 @@ RIVEN_SCRAPING_ORIONOID_PARAMETERS_VIDEOQUALITY=sd_hd8k # See the Orionoid API
RIVEN_SCRAPING_ORIONOID_PARAMETERS_LIMITCOUNT=5 # See the Orionoid API docs for more information on these parameters.
RIVEN_SCRAPING_ORIONOID_TIMEOUT=30
RIVEN_SCRAPING_ORIONOID_RATELIMIT=true
RIVEN_SCRAPING_TORBOX_SCRAPER_ENABLED=false
RIVEN_SCRAPING_TORBOX_SCRAPER_TIMEOUT=30
RIVEN_SCRAPING_MEDIAFUSION_ENABLED=false
RIVEN_SCRAPING_MEDIAFUSION_URL=https://mediafusion.elfhosted.com
RIVEN_SCRAPING_MEDIAFUSION_TIMEOUT=30
Expand Down
1,615 changes: 834 additions & 781 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/program/services/downloaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
TorrentInfo,
)
from program.services.downloaders.shared import parse_filename
from program.settings.manager import settings_manager

from .alldebrid import AllDebridDownloader
from .realdebrid import RealDebridDownloader
from .torbox import TorBoxDownloader


class Downloader:
Expand All @@ -28,7 +26,6 @@ def __init__(self):
self.initialized = False
self.services = {
RealDebridDownloader: RealDebridDownloader(),
TorBoxDownloader: TorBoxDownloader(),
AllDebridDownloader: AllDebridDownloader()
}
self.service = next((service for service in self.services.values() if service.initialized), None)
Expand Down
195 changes: 0 additions & 195 deletions src/program/services/downloaders/torbox.py

This file was deleted.

2 changes: 0 additions & 2 deletions src/program/services/scrapers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from program.services.scrapers.orionoid import Orionoid
from program.services.scrapers.prowlarr import Prowlarr
from program.services.scrapers.shared import _parse_results
from program.services.scrapers.torbox import TorBoxScraper
from program.services.scrapers.torrentio import Torrentio
from program.services.scrapers.zilean import Zilean
from program.settings.manager import settings_manager
Expand All @@ -28,7 +27,6 @@ def __init__(self):
Torrentio: Torrentio(),
Knightcrawler: Knightcrawler(),
Orionoid: Orionoid(),
TorBoxScraper: TorBoxScraper(),
Mediafusion: Mediafusion(),
Comet: Comet()
}
Expand Down
101 changes: 0 additions & 101 deletions src/program/services/scrapers/torbox.py

This file was deleted.

Loading

0 comments on commit 5d49499

Please sign in to comment.