aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-13 21:42:59 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-13 21:42:59 +0200
commitab82745e050b3bc45bec0f388a0d22ae02e7787c (patch)
tree508e8e5fd6d0f274a8324c463e0aa6254cc2024d
parentRemoved useless import of the crawler (it is now launched in a subprocess). (diff)
downloadnewspipe-ab82745e050b3bc45bec0f388a0d22ae02e7787c.tar.gz
newspipe-ab82745e050b3bc45bec0f388a0d22ae02e7787c.tar.bz2
newspipe-ab82745e050b3bc45bec0f388a0d22ae02e7787c.zip
Updated default user-agent when running on Heroku.
-rw-r--r--conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index d6c71819..4159fb9b 100644
--- a/conf.py
+++ b/conf.py
@@ -49,7 +49,7 @@ if not ON_HEROKU:
else:
HTTP_PROXY = ""
- USER_AGENT = "pyAggr3g470r (https://bitbucket.org/cedricbonhomme/pyaggr3g470r)"
+ USER_AGENT = "Mozilla/5.0 (X11; Debian; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0"
RESOLVE_ARTICLE_URL = int(os.environ.get('RESOLVE_ARTICLE_URL', 0)) == 1
WEBSERVER_DEBUG = False
bgstack15