Skip to content

Commit

Permalink
Update token.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ajctrl committed Dec 16, 2020
1 parent a45a8ac commit 48e8586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twint/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def __init__(self, msg):
class Token:
def __init__(self, config):
self._session = requests.Session()
self._session.headers.update({'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'})
self.config = config
self._retries = 5
self._timeout = 10
Expand Down

0 comments on commit 48e8586

Please sign in to comment.