mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
subdl
This commit is contained in:
parent
aadc36c499
commit
287eae4819
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ async def dlsub_callback(client, callback_query):
|
|||
res = await down_page(link)
|
||||
judul = res.get("title")
|
||||
dl = scraper.get(res.get("download_url"))
|
||||
f = open({judul}.zip, mode='wb').write(dl.content)
|
||||
f = open(f"{judul}.zip", mode='wb').write(dl.content)
|
||||
f.close()
|
||||
await callback_query.message.reply_document(f"{judul}.zip", caption=f"Title: {judul}\nIMDb: {res['imdb']}\nAuthor: {res['author_name']}")
|
||||
os.remove(f"{judul}.zip")
|
||||
|
|
|
|||
Loading…
Reference in a new issue