match streams type with was_live

pull/413/head
simon 2 years ago
parent 646bc1b12e
commit db4798754a
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -267,6 +267,9 @@ class PendingList(PendingIndex):
if vid["live_status"] in ["is_upcoming", "is_live"]:
return False
if vid["live_status"] == "was_live":
vid_type = VideoTypeEnum.STREAMS
return self._parse_youtube_details(vid, vid_type)
def _parse_youtube_details(self, vid, vid_type=VideoTypeEnum.VIDEOS):

Loading…
Cancel
Save