mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Sporza.be by erkfuizfeuadjfjzefzfuzeff
This commit is contained in:
parent
c155646c73
commit
15944ff5cb
52
recipes/sporza_be.recipe
Normal file
52
recipes/sporza_be.recipe
Normal file
@ -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'
|
||||
)
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user