Commits

Stephen Tanner committed 7bb4500

Fixed fetching of some page data because GET was being called with compression on

Comments (0)

Files changed (1)

     def build_post(self, link, site):
         href = site['domain'] + link['href']
         short = yield from self.shorten_url(href)
-        page = yield from self._GET(href, compress='True')
+        page = yield from self._GET(href)
         content = self.parse_post(page, site['post_class'])
         now = datetime.datetime.now().isoformat(' ')
         return {"url": href, "site": site['name'], "title":  str(link.string), "content": str(content), "short": short, "time_stamp": now}