From 76312ec4e7a82b25071f4e94a329d095d1ec4bfc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Oct 2012 18:00:21 +0530 Subject: [PATCH] Yazihane by A Erdogan --- recipes/yazihane.recipe | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes/yazihane.recipe diff --git a/recipes/yazihane.recipe b/recipes/yazihane.recipe new file mode 100644 index 0000000000..941e3e8b3b --- /dev/null +++ b/recipes/yazihane.recipe @@ -0,0 +1,19 @@ +from calibre.web.feeds.news import BasicNewsRecipe +import re + +class AdvancedUserRecipe1350731826(BasicNewsRecipe): + title = u'Yazihane' + oldest_article = 7 + max_articles_per_feed = 100 + __author__ = 'A Erdogan' + description = 'Sports Blog' + publisher = 'yazihaneden.com' + category = 'sports, basketball, nba, cycling, euroleague' + no_stylesheets = True + use_embedded_content = False + masthead_url = 'http://www.yazihaneden.com/wp-content/uploads/Untitled-1.png' + language = 'tr' + + keep_only_tags = [ dict(name='div', attrs={'id':re.compile('(^|| )post-($|| )', re.DOTALL)})] + remove_tags_after = dict(name='div', attrs={'class':'post-footer clear'}) + feeds = [(u'Yazihane', u'http://www.yazihaneden.com/feed/')]