mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +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}")
|
print(f"failed to query ryd api, skipping {self.youtube_id}")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if result["status"] == 404:
|
||||||
|
return False
|
||||||
|
|
||||||
dislikes = {
|
dislikes = {
|
||||||
"dislike_count": result["dislikes"],
|
"dislike_count": result["dislikes"],
|
||||||
"average_rating": result["rating"],
|
"average_rating": result["rating"],
|
||||||
|
Loading…
Reference in New Issue
Block a user