Ejemplo n.º 1
0
 def fetch_facebook_image(self):
     facebook_fetcher = FacebookFetcher(self.feed)
     url = facebook_fetcher.favicon_url()
     image, image_file = self.get_image_from_url(url)
     if not image:
         url = urlparse.urljoin(self.feed.feed_link, '/favicon.ico')
         image, image_file = self.get_image_from_url(url)
     # print 'Found: %s - %s' % (url, image)
     return image, image_file, url
Ejemplo n.º 2
0
 def fetch_facebook_image(self):
     facebook_fetcher = FacebookFetcher(self.feed)
     url = facebook_fetcher.favicon_url()
     image, image_file = self.get_image_from_url(url)
     if not image:
         url = urlparse.urljoin(self.feed.feed_link, '/favicon.ico')
         image, image_file = self.get_image_from_url(url)
     # print 'Found: %s - %s' % (url, image)
     return image, image_file, url
Ejemplo n.º 3
0
 def fetch_facebook(self):
     facebook_fetcher = FacebookFetcher(self.feed, self.options)
     return facebook_fetcher.fetch()
Ejemplo n.º 4
0
 def fetch_facebook(self):
     facebook_fetcher = FacebookFetcher(self.feed, self.options)
     return facebook_fetcher.fetch()