aboutsummaryrefslogtreecommitdiff
path: root/source/feedgetter.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-09-08 10:50:23 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-09-08 10:50:23 +0200
commit3506f60953b737fce23e251b596b9d75b7a82679 (patch)
tree49263b2bbe5b46a4943d5d7c8a40aaf9db010285 /source/feedgetter.py
parentImprovement to the CSS for the navigation container. (diff)
downloadnewspipe-3506f60953b737fce23e251b596b9d75b7a82679.tar.gz
newspipe-3506f60953b737fce23e251b596b9d75b7a82679.tar.bz2
newspipe-3506f60953b737fce23e251b596b9d75b7a82679.zip
detect_url_erros() now uses the proxy.
Diffstat (limited to 'source/feedgetter.py')
-rwxr-xr-xsource/feedgetter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/feedgetter.py b/source/feedgetter.py
index a2cdb752..a27a068c 100755
--- a/source/feedgetter.py
+++ b/source/feedgetter.py
@@ -69,7 +69,7 @@ class FeedGetter(object):
if conf.HTTP_PROXY == "":
self.proxy = urllib.request.ProxyHandler({})
else:
- self.proxy = urllib.request.ProxyHandler({"http":conf.HTTP_PROXY})
+ self.proxy = urllib.request.ProxyHandler({"http" : conf.HTTP_PROXY})
feedparser.USER_AGENT = conf.USER_AGENT
def retrieve_feed(self, feed_url=None, feed_original=None):
bgstack15