11-13-2008, 11:42 PM | #1 |
Member
Posts: 21
Karma: 34
Join Date: Nov 2008
Device: Sony 505
|
Request for Recipe
|
11-14-2008, 07:13 AM | #2 | |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
Code:
#!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2008, Darko Miletic <darko.miletic at gmail.com>' ''' japantimes.co.jp ''' from calibre.web.feeds.news import BasicNewsRecipe class Japantimes(BasicNewsRecipe): title = u'The Japan Times' __author__ = 'Darko Miletic' description = 'News from Japan' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False keep_only_tags = [ dict(name='div', attrs={'id':'searchresult'}) ] remove_tags_after = [ dict(name='div', attrs={'id':'mainbody' }) ] remove_tags = [ dict(name='div' , attrs={'id':'ads' }) ,dict(name='table', attrs={'width':470}) ] feeds = [ (u'The Japan Times', u'http://feedproxy.google.com/japantimes') ] |
|
Advert | |
|
11-14-2008, 07:59 AM | #3 |
Member
Posts: 21
Karma: 34
Join Date: Nov 2008
Device: Sony 505
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request for recipe | sumper | Recipes | 2 | 10-11-2010 02:25 AM |
Recipe request please | aessedai44 | Recipes | 2 | 10-06-2010 01:07 AM |
Yet another Recipe request.. | sherman | Calibre | 4 | 11-21-2008 04:42 AM |
Request for Recipe | girlperson1 | Calibre | 2 | 11-14-2008 10:43 PM |
Request for recipe | girlperson1 | Calibre | 2 | 11-13-2008 10:03 PM |