04-03-2011, 03:29 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: Kindle 3
|
Recipe for French website Developpez.com
Hi everyone.
I've made a recipe for the website www.developpez.com, one of the biggest french website about programming. Here's the code : Code:
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_FR' 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' Last edited by louhike; 04-03-2011 at 03:41 PM. |
04-03-2011, 03:53 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Added.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recipe works when mocked up as Python file, fails when converted to Recipe | ode | Recipes | 7 | 09-04-2011 04:57 AM |
Need help with recipe for tuoitre.vn website | huythach83 | Calibre | 0 | 11-03-2010 10:34 AM |
French JPost recipe please | jenden | Recipes | 9 | 09-25-2010 02:53 PM |
DR800/DR1000 Website archive browser (website in .ZIP file) | luite | iRex | 44 | 08-14-2010 12:52 AM |
Recipe help needed for looping through sections of a website | Acey | Calibre | 1 | 10-16-2008 01:09 PM |