mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Update mediainfo_paste.py
This commit is contained in:
parent
7d7c735db4
commit
9bc375c8f6
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ def html_builder(title: str, text: str) -> str:
|
|||
async def mediainfo_paste(text: str, title: str) -> str:
|
||||
html_content = html_builder(title, text)
|
||||
URL = "https://yasirr.eu.org/mediainfo"
|
||||
response = await fetch.post(URL, data={'text': html_content})
|
||||
response = await fetch.post(URL, data={"content": html_content})
|
||||
return (
|
||||
f"https://yasirr.eu.org/mediainfo-{json.loads(response.content)['key']}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue