Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
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
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for Het Laatste Nieuws (Belgian newspaper) based on built in recipe of Darko M erkfuizfeuadjfjz Recipes 0 02-17-2017 03:11 PM
Recipe voor De Tijd (Belgian newspaper) based on built in recipe of Darko Miletic erkfuizfeuadjfjz Recipes 0 02-17-2017 02:43 PM
ft recipe financial_times_us.recipe piet8stevens Recipes 3 03-05-2016 03:55 AM
recipe help please stanislavche Recipes 0 12-09-2012 04:49 PM
Recipe works when mocked up as Python file, fails when converted to Recipe ode Recipes 7 09-04-2011 04:57 AM


All times are GMT -4. The time now is 11:18 AM.


MobileRead.com is a privately owned, operated and funded community.