Обновить universal.py
This commit is contained in:
+3
-1
@@ -106,7 +106,7 @@ class SocialDownloaderMod(loader.Module):
|
|||||||
|
|
||||||
cmd = [
|
cmd = [
|
||||||
sys.executable, '-m', 'yt_dlp',
|
sys.executable, '-m', 'yt_dlp',
|
||||||
'-f', 'best[filesize<50M]',
|
'-f', 'bestvideo+bestaudio/best',
|
||||||
'--max-filesize', f"{self.config['max_size']}M",
|
'--max-filesize', f"{self.config['max_size']}M",
|
||||||
'-o', output_template,
|
'-o', output_template,
|
||||||
url
|
url
|
||||||
@@ -251,3 +251,5 @@ class SocialDownloaderMod(loader.Module):
|
|||||||
await utils.answer(message, "❌ Укажи ссылку на VK видео")
|
await utils.answer(message, "❌ Укажи ссылку на VK видео")
|
||||||
return
|
return
|
||||||
await self.dlcmd(message)
|
await self.dlcmd(message)
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user