mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
30 lines
730 B
Python
30 lines
730 B
Python
#!/usr/bin/env python
|
|
__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')
|
|
]
|
|
|
|
|