switch to firefox 3.5 user agent string
This commit is contained in:
parent
a2bf2a77d1
commit
a471801b99
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@ from chardet.universaldetector import UniversalDetector
|
||||||
|
|
||||||
# Default headers for HTTP requests.
|
# Default headers for HTTP requests.
|
||||||
DEFAULT_HEADERS = {
|
DEFAULT_HEADERS = {
|
||||||
'User-Agent': 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20090529 Minefield/3.6a1pre',
|
'User-Agent': 'Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5',
|
||||||
'Accept-Encoding': 'gzip'
|
'Accept-Encoding': 'gzip'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -15,6 +15,7 @@ setup(
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
'simplejson',
|
||||||
'chardet',
|
'chardet',
|
||||||
],
|
],
|
||||||
keywords = [
|
keywords = [
|
||||||
|
|
Loading…
Reference in a new issue