mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Update web_scraper.py
This commit is contained in:
parent
00fa33ea1d
commit
96b0b31cb7
1 changed files with 1 additions and 1 deletions
|
|
@ -1506,7 +1506,7 @@ async def movieku_scrap(_, callback_query, strings):
|
||||||
if total_links > 70:
|
if total_links > 70:
|
||||||
url = await post_to_telegraph(False, link, "<br>".join(output))
|
url = await post_to_telegraph(False, link, "<br>".join(output))
|
||||||
return await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl=f"Your result is too long, i have pasted your result on Telegraph:\n{url}"), reply_markup=keyboard)
|
return await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl=f"Your result is too long, i have pasted your result on Telegraph:\n{url}"), reply_markup=keyboard)
|
||||||
if output == "":
|
if "\n".join(output) == "":
|
||||||
output = "\nOpen link in browser, click on episode page and use /movieku_scrap [page link] commands for extract download link"
|
output = "\nOpen link in browser, click on episode page and use /movieku_scrap [page link] commands for extract download link"
|
||||||
await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl="\n".join(output)), reply_markup=keyboard)
|
await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl="\n".join(output)), reply_markup=keyboard)
|
||||||
except httpx.HTTPError as exc:
|
except httpx.HTTPError as exc:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue