[check] some changes
This commit is contained in:
parent
1b71dc1c20
commit
febbfe5b57
@ -44,12 +44,7 @@ def ytsearch(query: str):
|
|||||||
|
|
||||||
async def ytdl(link: str):
|
async def ytdl(link: str):
|
||||||
stdout, stderr = await bash(
|
stdout, stderr = await bash(
|
||||||
'yt-dlp',
|
f'yt-dlp --geo-bypass -g -f "best[height<=?720][width<=?1280]/best" {link}',
|
||||||
'--geo-bypass',
|
|
||||||
'-g',
|
|
||||||
'-f',
|
|
||||||
'best[height<=?720][width<=?1280]/best',
|
|
||||||
f'{link}',
|
|
||||||
)
|
)
|
||||||
if stdout:
|
if stdout:
|
||||||
return 1, stdout
|
return 1, stdout
|
||||||
|
Loading…
Reference in New Issue
Block a user