Skip to content

Commit

Permalink
fix: unhardcode orionoid limitcount. whoops!
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreu LaVelle committed Sep 13, 2024
1 parent 6a1c056 commit f7668c6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/program/scrapers/orionoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,10 @@ def construct_url(self, media_type, imdb_id, season=None, episode=None) -> str:
"streamtype": "torrent",
"protocoltorrent": "magnet",
"video3d": "false",
"videoquality": "sd_hd8k"
"videoquality": "sd_hd8k",
"limitcount": self.settings.limitcount or 5
}

if not self.is_unlimited:
params["limitcount"] = 5
else:
params["limitcount"] = 5000

if season:
params["numberseason"] = season
if episode:
Expand Down

0 comments on commit f7668c6

Please sign in to comment.