use check_formats to validate thumb url, #83

This commit is contained in:
simon 2021-11-06 20:23:59 +07:00
parent 72bc6a4d02
commit 15845da3a8
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,7 @@ class PendingList:
"default_search": "ytsearch",
"quiet": True,
"skip_download": True,
"check_formats": True,
}
try:
vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)

View File

@ -283,6 +283,7 @@ class YoutubeVideo:
"quiet": True,
"default_search": "ytsearch",
"skip_download": True,
"check_formats": True,
}
try:
vid = youtube_dl.YoutubeDL(obs).extract_info(youtube_id)