diff --git a/requests_html.py b/requests_html.py index d6ddecd..84b1ff8 100644 --- a/requests_html.py +++ b/requests_html.py @@ -18,6 +18,7 @@ from w3lib.encoding import html_to_unicode DEFAULT_ENCODING = 'utf-8' DEFAULT_URL = 'https://example.org/' +DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8' useragent = UserAgent()