mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
fixx escape
This commit is contained in:
parent
f5889bbfea
commit
c6c61cd5ab
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import html
|
||||
import re
|
||||
import traceback
|
||||
import chevron
|
||||
|
|
@ -96,7 +97,7 @@ async def byPassPh(url: str, name: str):
|
|||
telegraph = Telegraph()
|
||||
if not telegraph.get_access_token():
|
||||
await telegraph.create_account(short_name=BOT_USERNAME)
|
||||
page = await telegraph.create_page(f"{kusonime.get('title')} By {escape(name)}", html_content=html)
|
||||
page = await telegraph.create_page(f"{kusonime.get('title')} By {html.escape(name)}", html_content=html)
|
||||
results.update({"error": False, "url": "https://telegra.ph/{}".format(page["path"])})
|
||||
del results["error_message"]
|
||||
return results
|
||||
|
|
|
|||
Loading…
Reference in a new issue