Fix #6935 (The formating on the blog for neals nuze was changed after i submitted :()

This commit is contained in:
Kovid Goyal 2010-09-25 09:25:03 -06:00
parent 8ce7d6ca74
commit b09e819422

View File

@ -1,4 +1,5 @@
from calibre.web.feeds.news import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import BeautifulSoup, re
class AdvancedUserRecipe1282101454(BasicNewsRecipe):
title = 'Nealz Nuze'
language = 'en'
@ -11,11 +12,11 @@ class AdvancedUserRecipe1282101454(BasicNewsRecipe):
linearize_tables = True
no_stylesheets = True
remove_javascript = True
masthead_url = 'http://boortz.com/images/nuze_logo.gif'
keep_only_tags = [
dict(name='td', attrs={'id':['contentWellCell']})
]
remove_tags = [
dict(name='a', attrs={'class':['blogPermalink']}),
@ -25,13 +26,13 @@ class AdvancedUserRecipe1282101454(BasicNewsRecipe):
remove_tags_after = [dict(name='div', attrs={'class':'blogEntryBody'}),]
feeds = [
('NUZE', 'http://boortz.com/nealz_nuze_rss/rss.xml')
]