handle multifeed videos with noplaylist

This commit is contained in:
simon 2021-11-22 22:58:25 +07:00
parent 9fceb98f13
commit b1783d6be3
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 3 additions and 0 deletions

View File

@ -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"]

View File

@ -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)