Skip to content

Commit

Permalink
set scrape type to series instad of show. invalid url before. (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: Dreu Lavelle <dreu.lavelle@dajac.com>
  • Loading branch information
dreulavelle and Dreu Lavelle authored Dec 22, 2023
1 parent 2f668f2 commit 4d37e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/program/scrapers/torrentio.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ def api_scrape(self, item):
with self.minute_limiter:
if item.type == "season":
identifier = f":{item.number}:1"
scrape_type = "show"
scrape_type = "series"
imdb_id = item.parent.imdb_id
elif item.type == "episode":
identifier = f":{item.parent.number}:{item.number}"
scrape_type = "show"
scrape_type = "series"
imdb_id = item.parent.parent.imdb_id
else:
identifier = None
Expand Down

0 comments on commit 4d37e8b

Please sign in to comment.