at least be right about the platform, linux
This commit is contained in:
parent
14597c3974
commit
134cb76fd9
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ from utils import read_url
|
|||
__version__ = '1.0.2'
|
||||
|
||||
# Default headers for HTTP requests.
|
||||
DEFAULT_HEADERS = {'User-Agent': 'Mozilla/4.0 (compatible; MSIE 5.5)'}
|
||||
DEFAULT_HEADERS = {'User-Agent': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)'}
|
||||
|
||||
# Default maximum number of results.
|
||||
DEFAULT_MAX_RESULTS = 10
|
||||
|
|
|
@ -14,7 +14,7 @@ import djangohtml
|
|||
|
||||
|
||||
# Default headers for HTTP requests.
|
||||
DEFAULT_HEADERS = {'User-Agent': 'Mozilla/4.0 (compatible; MSIE 5.5)'}
|
||||
DEFAULT_HEADERS = {'User-Agent': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)'}
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Functions
|
||||
|
|
Loading…
Reference in a new issue