move logic to mailboxes

This commit is contained in:
Vladislav Khapin 2023-02-24 07:19:45 +04:00
parent d802845c0a
commit e921d15e04
6 changed files with 467 additions and 205 deletions

View file

@ -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)]