From 0119ef97b28b3d7431d0f4d6dccbaa445369441d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 20 Feb 2017 08:49:34 +0530 Subject: [PATCH] Voetbal Belgie by erkfuizfeuadjfjzefzfuzeff --- recipes/voetbal_belgie.recipe | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes/voetbal_belgie.recipe diff --git a/recipes/voetbal_belgie.recipe b/recipes/voetbal_belgie.recipe new file mode 100644 index 0000000000..befeb8de54 --- /dev/null +++ b/recipes/voetbal_belgie.recipe @@ -0,0 +1,26 @@ +#!/usr/bin/env python2 + +from calibre.web.feeds.news import BasicNewsRecipe + + +class VoetbalBE(BasicNewsRecipe): + title = u'Voetbal Belgiƫ' + __author__ = u'erkfuizfeuadjfjzefzfuzeff' + description = u'Voetbalnieuws uit Belgiƫ' + oldest_article = 7 + language = 'nl_BE' + + max_articles_per_feed = 100 + no_stylesheets = True + use_embedded_content = False + + keep_only_tags = [ + dict(name='title'), dict(name='h1'), + dict(name='a', attrs={'class': 'fancy'}), + dict(name='img', attrs={'class': 'border kalooga_10605'}), + dict(name='div', attrs={'class': 'text'}) + ] + + remove_tags = [] + + feeds = [(u'Voetbalnieuws', u'http://www.voetbalbelgie.be/nl/rss')]