diff options
-rw-r--r-- | pyaggr3g470r/feedgetter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py index 73b48b2c..0926aa99 100644 --- a/pyaggr3g470r/feedgetter.py +++ b/pyaggr3g470r/feedgetter.py @@ -65,7 +65,8 @@ class FeedGetter(object): if conf.HTTP_PROXY == "": self.proxy = urllib2.ProxyHandler({}) else: - self.proxy = urllib2.ProxyHandler({"http" : conf.HTTP_PROXY}) + self.proxy = urllib2.ProxyHandler({"http" : conf.HTTP_PROXY, \ + "https": conf.HTTP_PROXY}) feedparser.USER_AGENT = conf.USER_AGENT self.user = models.User.objects(email=email).first() |