mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix
This commit is contained in:
parent
c29e21101e
commit
27be8dd952
1 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ import telegraph
|
|||
import logging
|
||||
from aiohttp import ClientSession
|
||||
from misskaty import BOT_USERNAME
|
||||
from ..plugins.web_scraper import headers
|
||||
from bs4 import BeautifulSoup as bs4
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
|
@ -17,7 +16,7 @@ if telegraph.get_access_token() == None:
|
|||
token_ph = telegraph.create_account(short_name=BOT_USERNAME)
|
||||
LOGGER.info(f"kuso_utils: Create TGH Account ..")
|
||||
|
||||
headers = {"Accept": "*/*", "User-Agent": headers}
|
||||
headers = {"Accept": "*/*", "User-Agent": {"User-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.19582"}}
|
||||
|
||||
|
||||
async def kusonimeBypass(url: str, slug=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue