Skip to content

Commit

Permalink
Update web_scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirarism authored Sep 24, 2024
1 parent 96b0b31 commit b6c6091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misskaty/plugins/web_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ async def movieku_scrap(_, callback_query, strings):
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)
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 = "\n".join("\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)
except httpx.HTTPError as exc:
await callback_query.message.edit_msg(
Expand Down

0 comments on commit b6c6091

Please sign in to comment.