mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
27 lines
709 B
Python
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')]
|