mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-04 12:00:21 +00:00
fix is_live status check before adding to queue
This commit is contained in:
parent
fbb52dc93f
commit
a8c5773f81
@ -246,7 +246,7 @@ class PendingList(PendingIndex):
|
|||||||
print(f"{youtube_id}: skipping premium video, id not matching")
|
print(f"{youtube_id}: skipping premium video, id not matching")
|
||||||
return False
|
return False
|
||||||
# stop if video is streaming live now
|
# stop if video is streaming live now
|
||||||
if vid["is_live"]:
|
if vid["live_status"] in ["is_upcoming", "is_live"]:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return self._parse_youtube_details(vid)
|
return self._parse_youtube_details(vid)
|
||||||
|
Loading…
Reference in New Issue
Block a user