mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
34 lines
1.0 KiB
Python
34 lines
1.0 KiB
Python
#!/usr/bin/env python
|
|
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
www.usnews.com
|
|
'''
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class LaPrensa(BasicNewsRecipe):
|
|
title = 'US & World Report news'
|
|
__author__ = 'Darko Miletic'
|
|
description = 'News from USA and world'
|
|
publisher = 'U.S.News & World Report, L.P.'
|
|
category = 'news, politics, USA'
|
|
oldest_article = 2
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
encoding = 'utf-8'
|
|
language = 'en'
|
|
auto_cleanup = True
|
|
|
|
feeds = [
|
|
(u'Homepage', u'http://www.usnews.com/rss/usnews.rss'),
|
|
(u'Health', u'http://www.usnews.com/rss/health'),
|
|
(u'Nation & World', u'http://www.usnews.com/rss/news'),
|
|
(u'Money & Business', u'http://www.usnews.com/rss/money'),
|
|
(u'Education', u'http://www.usnews.com/rss/education'),
|
|
(u'Opinion', u'http://www.usnews.com/rss/opinion'),
|
|
(u'Science', u'http://www.usnews.com/rss/science')
|
|
]
|