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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class Niebezpiecznik_pl(BasicNewsRecipe):
  4.     title          = u'Niebezpiecznik.pl'
  5.     __author__        = 'fenuks'
  6.     description   = 'Niebezpiecznik.pl'
  7.     category       = 'hacking, IT'
  8.     language       = 'pl'
  9.     oldest_article = 8
  10.     max_articles_per_feed = 100
  11.     no_stylesheets = True
  12.     cover_url =u'http://userlogos.org/files/logos/Karmody/niebezpiecznik_01.png'
  13.     remove_tags=[dict(name='div', attrs={'class':['sociable']}), dict(name='h4'), dict(attrs={'class':'similar-posts'})]
  14.     keep_only_tags= [dict(name='div', attrs={'class':['title', 'entry']})]
  15.     feeds          = [(u'Wiadomo┼¢ci', u'http://feeds.feedburner.com/niebezpiecznik/'),
  16.                 ('Blog', 'http://feeds.feedburner.com/niebezpiecznik/linkblog/')]
  17.