diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2013-12-24 11:54:54 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2013-12-24 11:54:54 +0100 |
commit | d52f5735c6e540d30e716939fa619aedbd9d3aeb (patch) | |
tree | dfb02bff4e23246f1767bfb70ac4fb42aae7403e /conf.py | |
parent | Updated default configuration file. (diff) | |
download | newspipe-d52f5735c6e540d30e716939fa619aedbd9d3aeb.tar.gz newspipe-d52f5735c6e540d30e716939fa619aedbd9d3aeb.tar.bz2 newspipe-d52f5735c6e540d30e716939fa619aedbd9d3aeb.zip |
It is now possible to configure the proxy and the user agent.
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ DATABASE_USERNAME = config.get('database', 'username') DATABASE_PASSWORD = config.get('database', 'password') DATABASE_ADDRESS = config.get('database', 'address') +HTTP_PROXY = config.get('feedparser', 'http_proxy') +USER_AGENT = config.get('feedparser', 'user_agent') + WEBSERVER_DEBUG = int(config.get('webserver', 'debug')) == 1 WEBSERVER_HOST = config.get('webserver', 'host') WEBSERVER_PORT = int(config.get('webserver', 'port')) |