Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Commit

Permalink
Update login.py
Browse files Browse the repository at this point in the history
  • Loading branch information
e-sim-python authored Feb 21, 2021
1 parent 9a18d7b commit 65cc538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Help_functions/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def get_nick_and_pw(server):
headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0'}
cookies = {"user_agent": 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0'}
async def create_session():
session = ClientSession(headers=headers)
loop.create_task(create_session())
return ClientSession(headers=headers)
session = loop.run_until_complete(create_session())

async def get_content(link, data=None, login_first=False, return_url=False):
"""
Expand Down

0 comments on commit 65cc538

Please sign in to comment.