Skip to content

Commit

Permalink
Update token.py (twintproject#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajctrl authored Dec 17, 2020
1 parent a45a8ac commit 4b30fa3
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 4b30fa3

Please sign in to comment.