Register Guidelines E-Books Search Today's Posts Mark Forums Read

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


Thread Tools Search this Thread
Old 09-20-2011, 01:46 PM   #1
Junior Member
Medius began at the beginning.
Posts: 1
Karma: 10
Join Date: Sep 2011
Device: Nook Color
Macleans Magazine Update


Here is an updated and working version of Macleans Magazine recipe.

I based this off of the existing sexymax15 recipe.

Macleans seems to have revamped their website, and the old recipe wasn't working.


#!/usr/bin/env  python
from import BasicNewsRecipe

class AdvancedUserRecipe1308306308(BasicNewsRecipe):
    title          = u'Macleans Magazine'
    language = 'en_CA'
    __author__ = 'Medius'
    oldest_article = 7
    cover_url = ''

    use_embedded_content = False

    remove_empty_feeds = True
    no_stylesheets = True
    remove_javascript = True
    remove_tags = [dict(id='header'),{'class':'comment'}]
    remove_tags_after = {'class':'pagination'}

    feeds          = [(u'Canada', u''),
(u'World', u''), (u'Business', u''), (u'Arts & Culture', u''), (u'Opinion', u''), (u'Health', u''), (u'Sports', u''), (u'Environment', u''), (u'Technology', u''), (u'Travel', u''), (u'Blog Central', u'')]
def print_version(self, url): return url

Hopefully someone else finds this helpful.

Medius is offline   Reply With Quote

macleans, recipe

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Magazine-like PDF viewer (like the flash magazine viewer on certain sites?)? Huyggy Reading and Management 6 12-12-2013 05:35 AM
Recipe request - Macleans Magazine canislupus Recipes 7 07-24-2011 09:38 AM
The Magazine is Dead. Long Live the Magazine! kennyc News 17 11-01-2010 01:36 PM
How can I update creation time for a title when I update the book info or convert it setherd Calibre 3 10-30-2010 02:51 PM
Magazine FREEBIES - HUB magazine: Weekly Tales of SF Dr. Drib Deals, Freebies, and Resources (No Self-Promotion) 3 11-07-2009 01:07 PM

All times are GMT -4. The time now is 12:18 AM. is a privately owned, operated and funded community.