From b1783d6be37df4e066ce270ac263511650f98414 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 22 Nov 2021 22:58:25 +0700 Subject: [PATCH] handle multifeed videos with noplaylist --- tubearchivist/home/src/download.py | 2 ++ tubearchivist/home/src/index.py | 1 + 2 files changed, 3 insertions(+) diff --git a/tubearchivist/home/src/download.py b/tubearchivist/home/src/download.py index 5f3f467..4098d06 100644 --- a/tubearchivist/home/src/download.py +++ b/tubearchivist/home/src/download.py @@ -141,6 +141,7 @@ class PendingList: "quiet": True, "skip_download": True, "check_formats": True, + "noplaylist": True, } try: vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id) @@ -574,6 +575,7 @@ class VideoDownloader: "continuedl": True, "retries": 3, "writethumbnail": False, + "noplaylist": True, } if self.config["downloads"]["format"]: obs["format"] = self.config["downloads"]["format"] diff --git a/tubearchivist/home/src/index.py b/tubearchivist/home/src/index.py index 29f2f7f..c6ecce6 100644 --- a/tubearchivist/home/src/index.py +++ b/tubearchivist/home/src/index.py @@ -311,6 +311,7 @@ class YoutubeVideo: "default_search": "ytsearch", "skip_download": True, "check_formats": True, + "noplaylist": True, } try: vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)