mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
fix playlist get_entries when not passing all youtube_ids
This commit is contained in:
parent
c4b0f900f8
commit
ed9d5aef0a
@ -516,7 +516,10 @@ class YoutubePlaylist:
|
|||||||
for idx, entry in enumerate(playlist["entries"]):
|
for idx, entry in enumerate(playlist["entries"]):
|
||||||
uploader = entry["uploader"]
|
uploader = entry["uploader"]
|
||||||
youtube_id = entry["id"]
|
youtube_id = entry["id"]
|
||||||
|
if self.all_youtube_ids:
|
||||||
downloaded = youtube_id in self.all_youtube_ids
|
downloaded = youtube_id in self.all_youtube_ids
|
||||||
|
else:
|
||||||
|
downloaded = False
|
||||||
if not uploader:
|
if not uploader:
|
||||||
continue
|
continue
|
||||||
to_append = {
|
to_append = {
|
||||||
|
Loading…
Reference in New Issue
Block a user