mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 20:00:15 +00:00
handle multifeed videos with noplaylist
This commit is contained in:
parent
9fceb98f13
commit
b1783d6be3
@ -141,6 +141,7 @@ class PendingList:
|
|||||||
"quiet": True,
|
"quiet": True,
|
||||||
"skip_download": True,
|
"skip_download": True,
|
||||||
"check_formats": True,
|
"check_formats": True,
|
||||||
|
"noplaylist": True,
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)
|
vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)
|
||||||
@ -574,6 +575,7 @@ class VideoDownloader:
|
|||||||
"continuedl": True,
|
"continuedl": True,
|
||||||
"retries": 3,
|
"retries": 3,
|
||||||
"writethumbnail": False,
|
"writethumbnail": False,
|
||||||
|
"noplaylist": True,
|
||||||
}
|
}
|
||||||
if self.config["downloads"]["format"]:
|
if self.config["downloads"]["format"]:
|
||||||
obs["format"] = self.config["downloads"]["format"]
|
obs["format"] = self.config["downloads"]["format"]
|
||||||
|
@ -311,6 +311,7 @@ class YoutubeVideo:
|
|||||||
"default_search": "ytsearch",
|
"default_search": "ytsearch",
|
||||||
"skip_download": True,
|
"skip_download": True,
|
||||||
"check_formats": True,
|
"check_formats": True,
|
||||||
|
"noplaylist": True,
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)
|
vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user