calibre/recipes/voetbal_belgie.recipe
Kovid Goyal 29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30

27 lines
709 B
Python

#!/usr/bin/env python
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')]