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

  1. #!/usr/bin/env  python
  2.  
  3. __license__ = 'GPL v3'
  4. __author__ = 'Mori'
  5. __version__ = 'v. 0.1'
  6. '''
  7. Kukuburi.com
  8. '''
  9.  
  10. from calibre.web.feeds.news import BasicNewsRecipe
  11. import re
  12.  
  13. class KukuburiRecipe(BasicNewsRecipe):
  14.     __author__ = 'Mori'
  15.     language = 'en'
  16.  
  17.     title = u'Kukuburi'
  18.     publisher = u'Ram├│n P├⌐rez'
  19.     description =u'KUKUBURI by Ram\xc3\xb3n P\xc3\xa9rez'
  20.  
  21.     no_stylesheets = True
  22.     remove_javascript = True
  23.  
  24.     oldest_article = 100
  25.     max_articles_per_feed = 100
  26.  
  27.     feeds = [
  28.         (u'Kukuburi', u'http://feeds2.feedburner.com/Kukuburi')
  29.     ]
  30.  
  31.     preprocess_regexps = [
  32.         (re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in
  33.         [
  34.             (r'<!--.*?-->', lambda match: ''),
  35.             (r'<div class="feedflare".*?</div>', lambda match: '')
  36.         ]
  37.     ]
  38.