mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-12-07 13:45:11 -05:00
28 lines
1004 B
Plaintext
28 lines
1004 B
Plaintext
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
|
|
'''
|
|
sankei.jp.msn.com
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class MSNSankeiNewsProduct(BasicNewsRecipe):
|
|
title = u'MSN\u7523\u7d4c\u30cb\u30e5\u30fc\u30b9(\u65b0\u5546\u54c1)'
|
|
__author__ = 'Hiroshi Miura'
|
|
description = 'Products release from Japan'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
encoding = 'Shift_JIS'
|
|
language = 'ja'
|
|
cover_url = 'http://sankei.jp.msn.com/images/common/sankeShinbunLogo.jpg'
|
|
masthead_url = 'http://sankei.jp.msn.com/images/common/sankeiNewsLogo.gif'
|
|
|
|
feeds = [(u'\u65b0\u5546\u54c1', u'http://sankei.jp.msn.com/rss/news/release.xml')]
|
|
|
|
remove_tags_before = dict(id="__r_article_title__")
|
|
remove_tags_after = dict(id="ajax_release_news")
|
|
remove_tags = [{'class':"parent chromeCustom6G"},
|
|
dict(id="RelatedImg")
|
|
]
|