#!/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' ) ]