diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-13 21:42:59 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-13 21:42:59 +0200 |
commit | ab82745e050b3bc45bec0f388a0d22ae02e7787c (patch) | |
tree | 508e8e5fd6d0f274a8324c463e0aa6254cc2024d | |
parent | Removed useless import of the crawler (it is now launched in a subprocess). (diff) | |
download | newspipe-ab82745e050b3bc45bec0f388a0d22ae02e7787c.tar.gz newspipe-ab82745e050b3bc45bec0f388a0d22ae02e7787c.tar.bz2 newspipe-ab82745e050b3bc45bec0f388a0d22ae02e7787c.zip |
Updated default user-agent when running on Heroku.
-rw-r--r-- | conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |