mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-23 02:10:15 +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"]):
|
||||
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…
Reference in New Issue
Block a user