From 55a43b2d0a552402450e3f97a594b60cd3844ef6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 14 Oct 2011 12:42:28 +0200 Subject: [PATCH] upgrade bot to FF 7 --- ox/net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/net.py b/ox/net.py index 44e1a48..48c6e82 100644 --- a/ox/net.py +++ b/ox/net.py @@ -12,7 +12,7 @@ from chardet.universaldetector import UniversalDetector # Default headers for HTTP requests. DEFAULT_HEADERS = { - 'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100823 Firefox/4.0.1', + 'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1', 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-us,en;q=0.5',