Skip to content

Commit

Permalink
Sporza.be by erkfuizfeuadjfjzefzfuzeff
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Feb 19, 2017
1 parent c155646 commit 15944ff
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions recipes/sporza_be.recipe
@@ -0,0 +1,52 @@
#!/usr/bin/env python2

from calibre.web.feeds.news import BasicNewsRecipe


class Sporzabe(BasicNewsRecipe):
title = u'Sporza.be'
__author__ = u'erkfuizfeuadjfjzefzfuzeff'
description = u'Sport news from Belgium in Dutch'
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='div', attrs={'id': 'intro'}), dict(name='h3'),
dict(name='h1'), dict(name='span', attrs={'class': 'media_holder'}),
dict(name='div', attrs={'class': 'divider image'}),
dict(name='div', attrs={'class': 'paragraph'})
]

remove_tags = []

feeds = [
(
u'Voetbal', u'http://sporza.be/cm/sporza/voetbal?mode=atom&action=submit'
),
(
u'Wielrennen',
u'http://sporza.be/cm/sporza/wielrennen?mode=atom&action=submit'
),
(
u'Tennis', u'http://sporza.be/cm/sporza/tennis?mode=atom&action=submit'
),
(
u'Auto en Motor',
u'http://sporza.be/cm/sporza/auto_motor?mode=atom&action=submit'
),
(
u'Atletiek',
u'http://sporza.be/cm/sporza/atletiek?mode=atom&action=submit'
),
(
u'Zaal', u'http://sporza.be/cm/sporza/zaal?mode=atom&action=submit'
),
(
u'Ander nieuws',
u'http://sporza.be/cm/sporza/ander_nieuws?mode=atom&action=submit'
)
]

0 comments on commit 15944ff

Please sign in to comment.