Hola.
Esta vez de noticias de TV.
--Código:__license__ = 'GPL v3' __author__ = 'Ricardo Jurado' __copyright__ = 'Ricardo Jurado' __version__ = 'v0.1' __date__ = '21 February 2011' ''' http://www.formulatv.com/ ''' class AdvancedUserRecipe1297031650(BasicNewsRecipe): title = u'Formulatv.com' masthead_url = 'http://www.formulatv.com/images/formu7atv.png' cover_url = 'http://www.formulatv.com/images/formu7atv.png' publisher = u'' __author__ = 'Ricardo Jurado' description = 'Noticias de TV' category = 'News,TV' oldest_article = 2 max_articles_per_feed = 20 no_stylesheets = True use_embedded_content = False encoding = 'ISO-8859-1' remove_javascript = True language = 'es' extra_css = """ p{text-align: justify; font-size: 100%} body{ text-align: left; font-size:100% } h1{font-family: sans-serif; font-size:140%; font-weight:bold; text-align: justify; } h4{font-family: sans-serif; font-size:100%; font-weight:bold; text-align: justify; } h5{font-family: sans-serif; font-size:90%; text-align: justify; } h6{font-family: sans-serif; font-size:80%; text-align: justify; } """ keep_only_tags = [ dict(name='div', attrs={'id':'titular'}), dict(name='div', attrs={'class':'noticiasup'}), dict(name='div', attrs={'class':'txtf1'}) ] remove_tags = [ dict(name='div', attrs={'class':'noticiasbot'}) ] feeds = [ (u'NOTICIAS', u'http://feeds.noxvo.com/ftv/') ]
Saludos.


Citar