Skip to content

Commit 9bfdb89

Browse files
committed
fix: remove anime check from aiostreamms
1 parent e221e50 commit 9bfdb89

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/program/services/scrapers/aiostreams.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,19 @@ def scrape(self, item: MediaItem) -> dict[str, str]:
149149
if isinstance(item, Movie):
150150
imdb_id = item.imdb_id
151151
search_id = imdb_id # tt1234567
152-
aio_type = "anime" if item.is_anime else "movie"
152+
aio_type = "movie"
153153
elif isinstance(item, Show):
154154
imdb_id = item.imdb_id
155155
search_id = f"{imdb_id}:1:1" # tt1234567:1:1
156-
aio_type = "anime" if item.is_anime else "series"
156+
aio_type = "series"
157157
elif isinstance(item, Season):
158158
imdb_id = item.parent.imdb_id
159159
search_id = f"{imdb_id}:{item.number}:1" # tt1234567:season:1
160-
aio_type = "anime" if item.parent.is_anime else "series"
160+
aio_type = "series"
161161
elif isinstance(item, Episode):
162162
imdb_id = item.parent.parent.imdb_id
163163
search_id = f"{imdb_id}:{item.parent.number}:{item.number}" # tt1234567:season:episode
164-
aio_type = "anime" if item.parent.parent.is_anime else "series"
164+
aio_type = "series"
165165
else:
166166
return {}
167167

0 commit comments

Comments
 (0)