~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to recipes/kahokushinpo.recipe

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: package-import@ubuntu.com-20140514181750-efj1wymey2vb4cao
Tags: upstream-1.36.0+dfsg
ImportĀ upstreamĀ versionĀ 1.36.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
__license__   = 'GPL v3'
2
 
__copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
 
2
__copyright__ = '2010,2014, Hiroshi Miura <miurahr@linux.com>'
3
3
'''
4
4
www.kahoku.co.jp
5
5
'''
21
21
 
22
22
    feeds          = [(u'news', u'http://www.kahoku.co.jp/rss/index_thk.xml')]
23
23
 
24
 
    keep_only_tags = [ dict(id="page_title"),
25
 
                                   dict(id="news_detail"),
26
 
                                   dict(id="bt_title"),
27
 
                                   {'class':"photoLeft"},
28
 
                                   dict(id="bt_body")
29
 
                                 ]
30
 
    remove_tags = [ {'class':"button"}]
 
24
    keep_only_tags = [ {'class':"category"},{'class':"ttl"},{'class':'photoimg'},{'class':"txt"},{'class':"data"}]
31
25