from comics.aggregator.crawler import CrawlerBase, CrawlerImage
from comics.meta.base import MetaBase

class Meta(MetaBase):
    name = 'Space Avalanche'
    language = 'en'
    url = 'http://www.spaceavalanche.com/'
    start_date = '2009-02-02'
    rights = 'Eoin Ryan'

class Crawler(CrawlerBase):
    history_capable_days = 365
    time_zone = 0

    def crawl(self, pub_date):
        feed = self.parse_feed('http://feeds.feedburner.com/SpaceAvalanche1')
        for entry in feed.for_date(pub_date):
            url = entry.content0.src('img[src*="/wp-content/"]')
            title = entry.title
            return CrawlerImage(url, title)

@@ -514,16 +514,17 @@
      url
+s
  = entry
@@ -563,18 +563,110 @@
 tent/%22%5D'
-)%0A
+,%0A                allow_multiple=True)%0A            if urls:%0A                url = urls%5B0%5D%0A    
         
@@ -689,16 +689,20 @@
 y.title%0A
+    
         

Update 'spaceavalanche' after feed change