fix playlist get_entries when not passing all youtube_ids

pull/106/head
simon 3 years ago
parent c4b0f900f8
commit ed9d5aef0a
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -516,7 +516,10 @@ class YoutubePlaylist:
for idx, entry in enumerate(playlist["entries"]):
uploader = entry["uploader"]
youtube_id = entry["id"]
downloaded = youtube_id in self.all_youtube_ids
if self.all_youtube_ids:
downloaded = youtube_id in self.all_youtube_ids
else:
downloaded = False
if not uploader:
continue
to_append = {

Loading…
Cancel
Save