mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
developpez.com by louhike
This commit is contained in:
parent
f083e2e21c
commit
1d84c0d6ac
21
recipes/developpez.recipe
Normal file
21
recipes/developpez.recipe
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1301849956(BasicNewsRecipe):
|
||||||
|
title = u'Developpez.com'
|
||||||
|
description = u'Toutes les news du site Developpez.com'
|
||||||
|
publisher = u'Developpez.com'
|
||||||
|
timefmt = ' [%a, %d %b, %Y]'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
no_stylesheets = True
|
||||||
|
encoding = 'ISO-8859-1'
|
||||||
|
language = 'fr'
|
||||||
|
__author__ = 'louhike'
|
||||||
|
remove_javascript = True
|
||||||
|
keep_only_tags = [dict(name='div', attrs={'class':'content'})]
|
||||||
|
|
||||||
|
feeds = [(u'Tous les articles', u'http://www.developpez.com/index/rss')]
|
||||||
|
|
||||||
|
def get_cover_url(self):
|
||||||
|
return 'http://javascript.developpez.com/template/images/logo.gif'
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user