chore: ph/appends run first within threadpool

- Display and submit backgrounded APPENDS first

- Then stream answers run
This commit is contained in:
Alter-xyz
2024-07-15 06:37:35 -04:00
parent 5f56c2f66e
commit b1e52c7e18
2 changed files with 47 additions and 20 deletions

View File

@ -388,7 +388,7 @@ class TelegraphAPI:
url = f"{self.base_url}/getPage/{path}?return_content=true"
response = requests.get(url)
response.raise_for_status()
return response.json()["result"]
return response.json()["result"]["content"]
def create_page_md(
self,