View Single Post
Old 05-15-2011, 12:40 PM   #2
oneillpt
Connoisseur
oneillpt began at the beginning.
 
Posts: 63
Karma: 46
Join Date: Feb 2011
Device: Kindle 3 (cracked screen!); PW1; Oasis
Dagens Nyheter: recipe correction

Quote:
Originally Posted by meehrcat View Post
It appears to download fine and lists headlines when the ebook is opened, but there's no text content there. Is there a way to fix this? The code stuff looks pretty intimidating to an ordinary mortal such as myself. Really appreciating the fetch newspaper stuff on Calibre though, really great (other than this issue with DN!)
HTML structure has changed: customize the recipe to replace
Code:
keep_only_tags = [dict(name='div', attrs={'id':'article'})]
by
Code:
keep_only_tags = [dict(name='div', attrs={'id':'article-content'})]
oneillpt is offline   Reply With Quote