mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +00:00
fix ryd 404 error for reindex and deactivate
This commit is contained in:
parent
51f63f7b71
commit
c703105c5e
@ -466,6 +466,9 @@ class YoutubeVideo:
|
||||
print(f"failed to query ryd api, skipping {self.youtube_id}")
|
||||
return False
|
||||
|
||||
if result["status"] == 404:
|
||||
return False
|
||||
|
||||
dislikes = {
|
||||
"dislike_count": result["dislikes"],
|
||||
"average_rating": result["rating"],
|
||||
|
Loading…
Reference in New Issue
Block a user