This commit is contained in:
yasirarism 2023-05-22 15:14:32 +00:00 committed by GitHub
parent 2ae5f445f3
commit 9a4a83c02d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -21,6 +21,7 @@ basicConfig(
)
getLogger("pyrogram").setLevel(ERROR)
getLogger("openai").setLevel(ERROR)
getLogger("httpx").setLevel(logging.ERROR)
MOD_LOAD = []
MOD_NOLOAD = ["subscene_dl"]

View file

@ -1,11 +1,11 @@
import re
import traceback
import chevron
from telegraph.aio import Telegraph
import logging
from telegraph.aio import Telegraph
from misskaty.helper.http import http
from misskaty import BOT_USERNAME
from bs4 import BeautifulSoup as bs4
from bs4 import BeautifulSoup
LOGGER = logging.getLogger(__name__)
@ -92,7 +92,6 @@ async def byPassPh(url: str, name: str):
<br>
{{/data}}
""".strip()
LOGGER.info(kusonime)
if not kusonime["error"]:
html = render(template, kusonime)
telegraph = Telegraph()