Update Washington Post

This commit is contained in:
Kovid Goyal 2018-09-22 08:32:00 +05:30
parent bf99d53c80
commit 8bbc1c02ba
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -10,7 +10,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class TheWashingtonPost(BasicNewsRecipe):
title = 'The Washington Post'
__author__ = 'Darko Miletic'
description = 'Leading source for news, video and opinion on politics, business, world and national news, science, travel, entertainment and more. Our local coverage includes reporting on education, crime, weather, traffic, real estate, jobs and cars for DC, Maryland and Virginia. Offering award-winning opinion writing, entertainment information and restaurant reviews. Note that this website is currently blocked for IP addresses from Europe.' # noqa
description = 'Leading source for news, video and opinion on politics, business, world and national news, science, travel, entertainment and more. Our local coverage includes reporting on education, crime, weather, traffic, real estate, jobs and cars for DC, Maryland and Virginia. Offering award-winning opinion writing, entertainment information and restaurant reviews.' # noqa
publisher = 'The Washington Post Company'
category = 'news, politics, USA'
oldest_article = 2
@ -22,7 +22,10 @@ class TheWashingtonPost(BasicNewsRecipe):
language = 'en'
remove_empty_feeds = True
publication_type = 'newspaper'
auto_cleanup = True
keep_only_tags = [
dict(itemprop=['headline', 'articleBody']),
]
feeds = [
(u'World', u'http://feeds.washingtonpost.com/rss/world'),