mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
46 lines
1.3 KiB
Python
46 lines
1.3 KiB
Python
#!/usr/bin/env python
|
|
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
seattletimes.nwsource.com
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class SeattleTimes(BasicNewsRecipe):
|
|
|
|
title = 'The Seattle Times'
|
|
__author__ = 'Darko Miletic'
|
|
description = 'News from Seattle and USA'
|
|
publisher = 'The Seattle Times'
|
|
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
|
|
auto_cleanup_keep = '//div[@id="PhotoContainer"]'
|
|
|
|
feeds = [
|
|
(u'Local News',
|
|
u'https://www.seattletimes.com/seattle-news/feed/'),
|
|
(u'Nation & World',
|
|
u'https://www.seattletimes.com/nation-world/feed/'),
|
|
(u'Business',
|
|
u'https://www.seattletimes.com/business/feed/'),
|
|
(u'Sports',
|
|
u'https://www.seattletimes.com/sports/feed/'),
|
|
(u'Entertainment',
|
|
u'https://www.seattletimes.com/entertainment/feed/'),
|
|
(u'Life',
|
|
u'https://www.seattletimes.com/life/feed/'),
|
|
(u'Opinion',
|
|
u'https://www.seattletimes.com/opinion/feed/'),
|
|
(u'Photo and Video',
|
|
u'https://www.seattletimes.com/photo-video/feed/'),
|
|
]
|