Read 河北新報 on your iPad or Kindle in no time. Click download to load the free ebook on your reader.

Check out all the available public recipes or write your own with these quick start guides. ReadBeam is built on calibre, so everything in the docs and the fora applies here as well.

Download for free »

Tohoku regional news paper in Japan

Language: ja

Requires Subscription: No, it's available as free ebook

Schedule Every morning

			  __license__   = 'GPL v3'
__copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
'''
www.kahoku.co.jp
'''

from calibre.web.feeds.news import BasicNewsRecipe


class KahokuShinpoNews(BasicNewsRecipe):
    title          = u'\u6cb3\u5317\u65b0\u5831'
    __author__     = 'Hiroshi Miura'
    oldest_article = 2
    max_articles_per_feed = 20
    description    = 'Tohoku regional news paper in Japan'
    publisher      = 'Kahoku Shinpo Sha'
    category       = 'news, japan'
    language       = 'ja'
    encoding      = 'Shift_JIS'
    no_stylesheets = True

    feeds          = [(u'news', u'http://www.kahoku.co.jp/rss/index_thk.xml')]

    keep_only_tags = [ dict(id="page_title"),
                                   dict(id="news_detail"),
                                   dict(id="bt_title"),
                                   {'class':"photoLeft"},
                                   dict(id="bt_body")
                                 ]
    remove_tags = [ {'class':"button"}]