summaryrefslogtreecommitdiffstats
path: root/pyload/network
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-07 18:34:37 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-07 18:34:37 +0200
commit6120747c2e124a529cc85d3261fc343ad7d54ddf (patch)
tree3f50121553adaf234776461d4f404029c0374e01 /pyload/network
parentMerge branch 'pr/n1156_ItachiSan' into 0.4.10 (diff)
downloadpyload-6120747c2e124a529cc85d3261fc343ad7d54ddf.tar.xz
Update user-agent
Diffstat (limited to 'pyload/network')
-rw-r--r--pyload/network/HTTPRequest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/network/HTTPRequest.py b/pyload/network/HTTPRequest.py
index b1352bd6b..49d1d042e 100644
--- a/pyload/network/HTTPRequest.py
+++ b/pyload/network/HTTPRequest.py
@@ -74,7 +74,8 @@ class HTTPRequest(object):
#self.c.setopt(pycurl.VERBOSE, 1)
self.c.setopt(pycurl.USERAGENT,
- "Mozilla/5.0 (Windows NT 6.1; Win64; x64;en; rv:5.0) Gecko/20110619 Firefox/5.0")
+ "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0")
+
if pycurl.version_info()[7]:
self.c.setopt(pycurl.ENCODING, "gzip, deflate")
self.c.setopt(pycurl.HTTPHEADER, ["Accept: */*",