View Single Post
Old 05-17-2012, 01:15 PM   #3
vakya
Connoisseur
vakya doesn't littervakya doesn't litter
 
vakya's Avatar
 
Posts: 59
Karma: 164
Join Date: Jan 2009
Location: Spain
Device: Sony PRS-500, PRS-505, IREX DR800, Kindle 3 y Kindle 4 NT
Barrapunto - News Spanish Software Libre

__license__ = 'GPL v3'
__author__ = 'Vakya'
__version__ = 'v1.0'
__date__ = '14, May 2012'

from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1336226255(BasicNewsRecipe):
Here new News RSS in spanish. Why
remove_tags = [dict(name='div', attrs={'class':'details'})]
only works on some news?


title = u'Barrapunto'
publisher = u'Barrapunto'
__author__ = 'Vakya'
description = 'Noticias de la comunidad hispana de Software Libre'
language = 'es'

oldest_article = 15
max_articles_per_feed = 100
auto_cleanup = True
remove_tags_before = dict(name='h3')
remove_tags_after = dict(name='div', attrs={'class':['prev-next']})
remove_tags = [dict(name='div', attrs={'class':'details'})]
remove_tags = [dict(name='div', attrs={'class':'topic'})]
feeds = [(u'Barrapunto', u'http://barrapunto.com/index.rss')]
vakya is offline   Reply With Quote