11-06-2010, 09:17 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
The Daily Mail Newspaper
Hello all,
I have recently bought a kindle and really appreciate being able to read the daily mail on it however i miss having the comments being available to read since they are often very entertaining. Can anyone add a piece of code to the recipe in order to potentially capture the comments from each article? best wishes Alex |
11-06-2010, 11:34 AM | #2 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Code:
keep_only_tags = [dict(name='div', attrs={'id':'js-article-text'})] Code:
keep_only_tags = [dict(name='div', attrs={'id':['js-article-text','js-comments']})] |
|
11-07-2010, 12:50 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
|
Hello Starson17,
That code works great and can now download the latest six comments for each article, would it be possible to tweak it slightly more to be able to view all the comments? Thanks again! best wishes, Alex |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre recipe for daily Portuguese newspaper "Correio da Manhã" | jmst | Recipes | 2 | 11-01-2010 01:01 PM |
7 Day Free Trial Daily Mail Newspaper U.K. on 650. | Joshseadog | Sony Reader | 0 | 10-12-2010 11:35 AM |
Daily Austrian Newspaper "derStandard" as Ebook | laborg | Workshop | 2 | 10-12-2010 08:48 AM |
An Article on the Sony Reader in the Daily Mail | M0zza | News | 9 | 09-02-2008 01:12 PM |
Chinese newspaper Yantai Daily on iLiad | yokos | iRex | 6 | 10-28-2006 02:21 AM |