home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Calibre / calibre-0.8.18.msi / file_280 / sinfest.recipe < prev    next >
Text File  |  2011-09-09  |  1KB  |  34 lines

  1. __license__   = 'GPL v3'
  2. __copyright__ = '2010, Nadid <nadid.skywalker at gmail.com>'
  3. '''
  4. http://www.sinfest.net
  5. '''
  6.  
  7. from calibre.web.feeds.news import BasicNewsRecipe
  8.  
  9. class SinfestBig(BasicNewsRecipe):
  10.     title                  = 'Sinfest'
  11.     __author__             = 'nadid'
  12.     description            = 'Sinfest'
  13.     reverse_article_order = False
  14.     oldest_article         = 5
  15.     max_articles_per_feed  = 100
  16.     no_stylesheets         = True
  17.     use_embedded_content   = True
  18.     encoding               = 'utf-8'
  19.     publisher              = 'Tatsuya Ishida/Museworks'
  20.     category               = 'comic'
  21.     language               = 'en'
  22.  
  23.     conversion_options = {
  24.                              'comments'        : description
  25.                             ,'tags'            : category
  26.                             ,'language'        : language
  27.                             ,'publisher'       : publisher
  28.                          }
  29.  
  30.     feeds = [(u'SinFest', u'http://henrik.nyh.se/scrapers/sinfest.rss' )]
  31.     def get_article_url(self, article):
  32.         return article.get('link')
  33.  
  34.