mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-30 09:44:51 +00:00
Update ytdl_download_new.py
This commit is contained in:
parent
3b1af9c8d6
commit
2cae6d1754
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ async def ytdownv2(_, message):
|
|||
log_group_id=0, cache_path="cache", ffmpeg_location="/usr/bin/mediaextract"
|
||||
) as ytdl:
|
||||
x = await ytdl.parse(url)
|
||||
LOGGER.info(x)
|
||||
if "ERROR" in str(x):
|
||||
return await message.reply(f"<code>{str(x)}</code>")
|
||||
img = await get_ytthumb(x.key)
|
||||
|
|
|
|||
Loading…
Reference in a new issue