Ajustes no download video
This commit is contained in:
12
main.py
12
main.py
@@ -174,9 +174,15 @@ def download_video(
|
|||||||
ydl_opts = {
|
ydl_opts = {
|
||||||
"format": quality_map[qualidade],
|
"format": quality_map[qualidade],
|
||||||
"outtmpl": output_template,
|
"outtmpl": output_template,
|
||||||
"quiet": True,
|
'quiet': True,
|
||||||
"noplaylist": True,
|
'no_warnings': True,
|
||||||
"merge_output_format": "mp4",
|
'skip_download': True,
|
||||||
|
'nocheckcertificate': True,
|
||||||
|
'ignoreerrors': True,
|
||||||
|
'no_color': True,
|
||||||
|
'extract_flat': 'in_playlist',
|
||||||
|
'force_generic_extractor': True,
|
||||||
|
'allow_unplayable_formats': True,
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user