Update Nikkei Free

This commit is contained in:
Kovid Goyal 2016-07-20 09:19:00 +05:30
parent 2c783fd62d
commit 3387a70887

View File

@ -12,11 +12,14 @@ class NikkeiNet(BasicNewsRecipe):
description = 'News and current market affairs from Japan, no subscription and getting max feed.'
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
no_stylesheets = True
remove_attributes = ['style']
oldest_article = 2
max_articles_per_feed = 20
language = 'ja'
feeds = [ (u'\u65e5\u7d4c\u4f01\u696d', u'http://www.zou3.net/php/rss/nikkei2rss.php?head=sangyo'),
feeds = [
(u'\u65e5\u7d4c\u4f01\u696d', u'http://www.zou3.net/php/rss/nikkei2rss.php?head=sangyo'),
(u'\u65e5\u7d4c\u88fd\u54c1', u'http://www.zou3.net/php/rss/nikkei2rss.php?head=newpro'),
(u'internet', u'http://www.zou3.net/php/rss/nikkei2rss.php?head=internet'),
(u'\u653f\u6cbb', u'http://www.zou3.net/php/rss/nikkei2rss.php?head=seiji'),
@ -49,7 +52,7 @@ class NikkeiNet(BasicNewsRecipe):
(u'\u8abf\u67fb\u30fb\u30a2\u30f3\u30b1\u30fc\u30c8', u'http://www.zou3.net/php/rss/nikkei2rss.php?head=research')
]
remove_tags_before = dict(id="CONTENTS")
keep_only_tags = [dict(id="CONTENTS_MAIN")]
remove_tags = [
dict(name="form"),
{'class':"cmn-hide"},