diff --git a/twint/token.py b/twint/token.py index 0eeb0dc0..ae66a24a 100644 --- a/twint/token.py +++ b/twint/token.py @@ -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