FIX: Михаил Палыч bug
This commit is contained in:
parent
893d94076f
commit
de385d3f49
@ -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[filesize<=50M][ext=mp4]/best[height<=480][ext=mp4]/best[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