change format

This commit is contained in:
levina 2022-02-16 13:38:20 +07:00 committed by GitHub
parent c7b65b7abe
commit e242681ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ def ytsearch(query: str):
async def ytdl(link: str):
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:
return 1, stdout