move logic to mailboxes
This commit is contained in:
parent
d802845c0a
commit
e921d15e04
6 changed files with 467 additions and 205 deletions
|
@ -21,7 +21,8 @@ def report_state(id: str):
|
|||
|
||||
def load_video(url: str, file_path: str, id: str):
|
||||
opts = {
|
||||
"format": 'mp4',
|
||||
"recode-video": "mp4",
|
||||
"format": 'best[filesize<50M]',
|
||||
"quiet": True,
|
||||
"outtmpl": file_path,
|
||||
"progress_hooks": [report_state(id)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue