| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class AdvancedUserRecipe1301849956(BasicNewsRecipe): |
| 5 |
title = 'Developpez.com' |
| 6 |
description = 'Toutes les news du site Developpez.com' |
| 7 |
publisher = 'Developpez.com' |
| 8 |
timefmt = ' [%a, %d %b, %Y]' |
| 9 |
oldest_article = 7 |
| 10 |
max_articles_per_feed = 100 |
| 11 |
no_stylesheets = True |
| 12 |
encoding = 'ISO-8859-1' |
| 13 |
language = 'fr' |
| 14 |
__author__ = 'louhike' |
| 15 |
remove_javascript = True |
| 16 |
keep_only_tags = [dict(name='div', attrs={'class': 'content'})] |
| 17 |
|
| 18 |
feeds = [('Tous les articles', 'http://www.developpez.com/index/rss')] |
| 19 |
|
| 20 |
def get_cover_url(self): |
| 21 |
return 'http://javascript.developpez.com/template/images/logo.gif' |