Update api.py

This commit is contained in:
Sorrow446 2020-02-09 22:42:12 +00:00 committed by GitHub
parent c514b61c44
commit 3371c49896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ from api.exceptions import IneligibleError
class Client:
def __init__(self, **kwargs):
def __init__(self):
self.session = requests.Session()
self.session.headers.update({
'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0'