From 6370ed4a20e53c2fee156289eb9bc2aafbf412b4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 1 Mar 2018 08:06:58 -0500 Subject: [PATCH] commit Signed-off-by: Kenneth Reitz --- requests_html.py | 1 + 1 file changed, 1 insertion(+) 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()