This commit is contained in:
jxxghp
2024-12-06 15:55:56 +08:00
parent 29ae910953
commit cde4db1a56
8 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class YemaSpider:
results = res.json().get('data', []) or []
for result in results:
category_value = result.get('categoryId')
if category_value in self._tv_category :
if category_value in self._tv_category:
category = MediaType.TV.value
elif category_value in self._movie_category:
category = MediaType.MOVIE.value