calibre/recipes/kahokushinpo.recipe
Hiroshi Miura 521a8f93c1 update japanese recipes
- update:
  endgaget jp
  Kahoku Shinpo
  MSN Sankei News
  Uni no Himitsu
- remove problematic recipes:
  nikkei_sub*
  chou chou blog

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2014-05-06 17:16:20 +09:00

26 lines
764 B
Plaintext

__license__ = 'GPL v3'
__copyright__ = '2010,2014, 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 = [ {'class':"category"},{'class':"ttl"},{'class':'photoimg'},{'class':"txt"},{'class':"data"}]