mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2024-12-24 02:40:14 +00:00
match streams type with was_live
This commit is contained in:
parent
646bc1b12e
commit
db4798754a
@ -267,6 +267,9 @@ class PendingList(PendingIndex):
|
|||||||
if vid["live_status"] in ["is_upcoming", "is_live"]:
|
if vid["live_status"] in ["is_upcoming", "is_live"]:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if vid["live_status"] == "was_live":
|
||||||
|
vid_type = VideoTypeEnum.STREAMS
|
||||||
|
|
||||||
return self._parse_youtube_details(vid, vid_type)
|
return self._parse_youtube_details(vid, vid_type)
|
||||||
|
|
||||||
def _parse_youtube_details(self, vid, vid_type=VideoTypeEnum.VIDEOS):
|
def _parse_youtube_details(self, vid, vid_type=VideoTypeEnum.VIDEOS):
|
||||||
|
Loading…
Reference in New Issue
Block a user