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