[check] some changes

This commit is contained in:
levina 2022-02-21 09:19:52 +07:00 committed by GitHub
parent 1b71dc1c20
commit febbfe5b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,12 +44,7 @@ def ytsearch(query: str):
async def ytdl(link: str):
stdout, stderr = await bash(
'yt-dlp',
'--geo-bypass',
'-g',
'-f',
'best[height<=?720][width<=?1280]/best',
f'{link}',
f'yt-dlp --geo-bypass -g -f "best[height<=?720][width<=?1280]/best" {link}',
)
if stdout:
return 1, stdout