best
This commit is contained in:
parent
fe0e9fb888
commit
48ca811dd9
@ -22,7 +22,7 @@ def report_state(id: str):
|
|||||||
def load_video(url: str, file_path: str, id: str):
|
def load_video(url: str, file_path: str, id: str):
|
||||||
try:
|
try:
|
||||||
opts = {
|
opts = {
|
||||||
"format": 'best[height<=480][ext=mp4]/bestvideo+bestaudio[ext=mp4]',
|
"format": 'best[height<=480][ext=mp4]/best[ext=mp4]',
|
||||||
"quiet": True,
|
"quiet": True,
|
||||||
"outtmpl": file_path,
|
"outtmpl": file_path,
|
||||||
"progress_hooks": [report_state(id)]
|
"progress_hooks": [report_state(id)]
|
||||||
|
Loading…
Reference in New Issue
Block a user