From 0bbb4c9b084420fac6df09ce8bf73fdbf5746ba6 Mon Sep 17 00:00:00 2001 From: Dave Mateer Date: Sun, 27 Aug 2023 17:26:36 +0100 Subject: [PATCH] Added noplaylist true to youtubedl so that videos in playlists will work --- src/auto_archiver/archivers/youtubedl_archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto_archiver/archivers/youtubedl_archiver.py b/src/auto_archiver/archivers/youtubedl_archiver.py index 92637c0..e92a058 100644 --- a/src/auto_archiver/archivers/youtubedl_archiver.py +++ b/src/auto_archiver/archivers/youtubedl_archiver.py @@ -25,7 +25,7 @@ class YoutubeDLArchiver(Archiver): logger.debug('Using Facebook cookie') yt_dlp.utils.std_headers['cookie'] = self.facebook_cookie - ydl = yt_dlp.YoutubeDL({'outtmpl': os.path.join(ArchivingContext.get_tmp_dir(), f'%(id)s.%(ext)s'), 'quiet': False}) + ydl = yt_dlp.YoutubeDL({'outtmpl': os.path.join(ArchivingContext.get_tmp_dir(), f'%(id)s.%(ext)s'), 'quiet': False, 'noplaylist':True}) try: # don'd download since it can be a live stream