#!/usr/bin/env python2 __license__ = 'GPL v3' ''' ''' from calibre.web.feeds.recipes import BasicNewsRecipe class PeopleMag(BasicNewsRecipe): title = 'People/US Magazine Mashup' __author__ = 'BrianG' language = 'en' description = 'Headlines from People and US Magazine' no_stylesheets = True use_embedded_content = False oldest_article = 2 max_articles_per_feed = 50 use_embedded_content = False no_stylesheets = True auto_cleanup = True auto_cleanup_keep = '//div[@id="article-image"]' feeds = [ ('PEOPLE Headlines', 'http://feeds.people.com/people/headlines'), ('US Headlines', 'http://www.usmagazine.com/celebrity_news/rss') ]