From 997702ec8f09e16dfa526b221371c186c6ca51c7 Mon Sep 17 00:00:00 2001 From: Spoked <5782630+dreulavelle@users.noreply.github.com> Date: Fri, 22 Dec 2023 15:51:09 -0500 Subject: [PATCH] set scrape type to series instad of show. invalid url before. (#85) Co-authored-by: Dreu Lavelle --- backend/program/scrapers/torrentio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/program/scrapers/torrentio.py b/backend/program/scrapers/torrentio.py index b6812392..b50f7e26 100644 --- a/backend/program/scrapers/torrentio.py +++ b/backend/program/scrapers/torrentio.py @@ -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