diff --git a/recipes/hankyoreh21.recipe b/recipes/hankyoreh21.recipe new file mode 100644 index 0000000000..85ded3b8e3 --- /dev/null +++ b/recipes/hankyoreh21.recipe @@ -0,0 +1,26 @@ +__license__ = 'GPL v3' +__copyright__ = '2011, Seongkyoun Yoo ' +''' +Profile to download The Hankyoreh +''' +import re +from calibre.web.feeds.news import BasicNewsRecipe + +class Hankyoreh21(BasicNewsRecipe): + title = u'Hankyoreh21' + language = 'ko' + description = u'The Hankyoreh21 Magazine articles' + __author__ = 'Seongkyoun Yoo' + oldest_article = 20 + recursions = 1 + max_articles_per_feed = 120 + no_stylesheets = True + remove_javascript = True + keep_only_tags = [ + dict(name='font', attrs={'class':'t18bk'}), + dict(id=['fontSzArea']) + ] + + feeds = [ + ('Hani21','http://h21.hani.co.kr/rss/ '), + ] \ No newline at end of file