mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 03:40:14 +00:00
fail open for in continue watching videos building
This commit is contained in:
parent
75cd9d382d
commit
fa25a56126
@ -201,6 +201,9 @@ class ArchivistResultsView(ArchivistViewConfig):
|
||||
"ta_video/_search", self.default_conf, data=data
|
||||
)
|
||||
videos = search.get_data()
|
||||
if not videos:
|
||||
return False
|
||||
|
||||
for video in videos:
|
||||
youtube_id = video["source"]["youtube_id"]
|
||||
matched = [i for i in results if i["youtube_id"] == youtube_id]
|
||||
|
Loading…
Reference in New Issue
Block a user