I add command /admin /vadmin /iadmin /hello I create database and I improve code
It's version 0.3.0
This commit is contained in:
@@ -19,6 +19,7 @@ async def get_video_info(url: str) -> dict:
|
||||
'yt-dlp',
|
||||
'--dump-json',
|
||||
'--no-playlist',
|
||||
'--cookies', '~/myfirstprogramm/addons/example_addon/cookies.txt',
|
||||
url,
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE
|
||||
@@ -108,6 +109,7 @@ async def download_mp3_isolated(url: str) -> tuple[str, dict]:
|
||||
process = await asyncio.create_subprocess_exec(
|
||||
'yt-dlp',
|
||||
'-x', '--audio-format', 'mp3',
|
||||
'--cookies', '~/myfirstprogramm/addons/example_addon/cookies.txt',
|
||||
'--audio-quality', '320K',
|
||||
'--no-playlist',
|
||||
'-o', output_template,
|
||||
|
||||
Reference in New Issue
Block a user