View Single Post
Old 02-19-2017, 01:38 PM   #1
erkfuizfeuadjfjz
Member
erkfuizfeuadjfjz began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2017
Device: Sony PRS-T3
recipe for Voetbal België

#!/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')
]
erkfuizfeuadjfjz is offline   Reply With Quote