diff --git a/recipes/american_thinker.recipe b/recipes/american_thinker.recipe index eb2277a226..9ad7d0f7ec 100644 --- a/recipes/american_thinker.recipe +++ b/recipes/american_thinker.recipe @@ -19,7 +19,7 @@ class AmericanThinker(BasicNewsRecipe): oldest_article = 7 # days max_articles_per_feed = 50 summary_length = 150 - language = 'en' + language = 'en_US' ignore_duplicate_articles = {'title', 'url'} remove_javascript = True diff --git a/recipes/amspec.recipe b/recipes/amspec.recipe index 35b59d8e1e..90437f5024 100644 --- a/recipes/amspec.recipe +++ b/recipes/amspec.recipe @@ -17,7 +17,7 @@ class TheAmericanSpectator(BasicNewsRecipe): max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False - language = 'en' + language = 'en_US' auto_cleanup = True encoding = 'utf-8' diff --git a/recipes/aprospect.recipe b/recipes/aprospect.recipe index d6f694e0e1..de904a2dca 100644 --- a/recipes/aprospect.recipe +++ b/recipes/aprospect.recipe @@ -10,7 +10,7 @@ class AmericanProspect(BasicNewsRecipe): title = 'American Prospect' __author__ = 'Kovid Goyal' oldest_article = 300 - language = 'en' + language = 'en_US' max_articles_per_feed = 100 recursions = 0 no_stylesheets = True diff --git a/recipes/baltimore_sun.recipe b/recipes/baltimore_sun.recipe index 796a5655ac..3138a720d9 100644 --- a/recipes/baltimore_sun.recipe +++ b/recipes/baltimore_sun.recipe @@ -13,7 +13,7 @@ class BaltimoreSun(BasicNewsRecipe): title = 'The Baltimore Sun' __author__ = 'Kovid Goyal' description = 'Complete local news and blogs from Baltimore' - language = 'en' + language = 'en_US' version = 2.5 compress_news_images = True compress_news_images_auto_size = 8 diff --git a/recipes/boston.com.recipe b/recipes/boston.com.recipe index 316969243a..82f75c53d4 100644 --- a/recipes/boston.com.recipe +++ b/recipes/boston.com.recipe @@ -123,7 +123,7 @@ class BostonGlobeSubscription(BasicNewsRecipe): title = "Boston Globe" __author__ = 'Kovid Goyal' description = 'The Boston Globe' - language = 'en' + language = 'en_US' timefmt = ' [%a, %d %b, %Y]' keep_only_tags = [ class_startswith('headline |', 'subheader |', 'byline |', 'image |', 'lead |', 'body |', 'comic-debug'), diff --git a/recipes/boston_globe_print_edition.recipe b/recipes/boston_globe_print_edition.recipe index 3ceb4edbb0..8c5e81df7c 100644 --- a/recipes/boston_globe_print_edition.recipe +++ b/recipes/boston_globe_print_edition.recipe @@ -36,7 +36,7 @@ class BostonGlobePrint(BasicNewsRecipe): title = "Boston Globe | Print Edition" __author__ = 'Kovid Goyal, unkn0wn' description = 'The Boston Globe - Today\'s Paper' - language = 'en' + language = 'en_US' keep_only_tags = [ class_startswith('headline |', 'subheader |', 'byline |', 'image |', 'lead |', 'body |', 'comic-debug'), diff --git a/recipes/cincinnati_enquirer.recipe b/recipes/cincinnati_enquirer.recipe index 9e59e6f645..4e2409024c 100644 --- a/recipes/cincinnati_enquirer.recipe +++ b/recipes/cincinnati_enquirer.recipe @@ -8,7 +8,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1234144423(BasicNewsRecipe): title = u'Cincinnati Enquirer' oldest_article = 7 - language = 'en' + language = 'en_US' __author__ = 'Joseph Kitzmiller and Sujata Raman' max_articles_per_feed = 100 diff --git a/recipes/cnn.recipe b/recipes/cnn.recipe index cdd17e4865..9089c9d2bb 100644 --- a/recipes/cnn.recipe +++ b/recipes/cnn.recipe @@ -15,7 +15,7 @@ class CNN(BasicNewsRecipe): description = 'Global news' timefmt = ' [%d %b %Y]' __author__ = 'Kovid Goyal' - language = 'en' + language = 'en_US' no_stylesheets = True use_embedded_content = False diff --git a/recipes/dailyreckoning.recipe b/recipes/dailyreckoning.recipe index 91b6bd0c90..a2955e2f99 100644 --- a/recipes/dailyreckoning.recipe +++ b/recipes/dailyreckoning.recipe @@ -19,7 +19,7 @@ class dailyreckoning_us(BasicNewsRecipe): no_stylesheets = True use_embedded_content = False encoding = 'utf-8' - language = 'en' + language = 'en_US' extra_css = ' #BlogTitle{font-size: x-large; font-weight: bold} #BlogDate{font-size: small} ' conversion_options = { diff --git a/recipes/denver_post.recipe b/recipes/denver_post.recipe index b303505219..dd11e09a6a 100644 --- a/recipes/denver_post.recipe +++ b/recipes/denver_post.recipe @@ -15,7 +15,7 @@ def classes(classes): class DenverPost(BasicNewsRecipe): title = u'Denver Post' - language = 'en' + language = 'en_US' __author__ = 'Kovid Goyal' oldest_article = 1 # days max_articles_per_feed = 20 diff --git a/recipes/foxnews.recipe b/recipes/foxnews.recipe index 3e5c25ca6d..402b2ea894 100644 --- a/recipes/foxnews.recipe +++ b/recipes/foxnews.recipe @@ -23,7 +23,7 @@ class FoxNews(BasicNewsRecipe): encoding = 'utf8' use_embedded_content = False - language = 'en' + language = 'en_US' remove_empty_feeds = True extra_css = """ body{font-family: Arial,sans-serif } diff --git a/recipes/icons/irish_times_free.png b/recipes/icons/irish_times_free.png new file mode 100644 index 0000000000..72eaba90ff Binary files /dev/null and b/recipes/icons/irish_times_free.png differ diff --git a/recipes/kstar.recipe b/recipes/kstar.recipe index 16b0fca3aa..34f25fbd5a 100644 --- a/recipes/kstar.recipe +++ b/recipes/kstar.recipe @@ -3,7 +3,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1282101454(BasicNewsRecipe): title = 'Kansas City Star' - language = 'en' + language = 'en_US' __author__ = 'TonytheBookworm' description = 'www.kansascity.com feed' publisher = 'Tony Stegall' diff --git a/recipes/las_vegas_review.recipe b/recipes/las_vegas_review.recipe index 47e9a587af..a90c548787 100644 --- a/recipes/las_vegas_review.recipe +++ b/recipes/las_vegas_review.recipe @@ -5,7 +5,7 @@ class AdvancedUserRecipe1274742400(BasicNewsRecipe): title = u'Las Vegas Review Journal' __author__ = 'Kovid Goyal' - language = 'en' + language = 'en_US' oldest_article = 7 diff --git a/recipes/latimes.recipe b/recipes/latimes.recipe index ff9c94c09b..dc30505a29 100644 --- a/recipes/latimes.recipe +++ b/recipes/latimes.recipe @@ -55,7 +55,7 @@ class LATimes(BasicNewsRecipe): use_embedded_content = False compress_news_images = True compress_news_images_auto_size = 5 - language = 'en' + language = 'en_US' remove_empty_feeds = True ignore_duplicate_articles = {'url'} publication_type = 'newspaper' diff --git a/recipes/miami_herald.recipe b/recipes/miami_herald.recipe index c5d0328dff..25965b0f4e 100644 --- a/recipes/miami_herald.recipe +++ b/recipes/miami_herald.recipe @@ -21,7 +21,7 @@ class TheMiamiHerald(BasicNewsRecipe): oldest_article = 1 max_articles_per_feed = 100 publisher = u'The Miami Herald' - language = 'en' + language = 'en_US' no_stylesheets = True use_embedded_content = False encoding = 'utf-8' diff --git a/recipes/msnbc.recipe b/recipes/msnbc.recipe index e784a62af4..5eb138a57d 100644 --- a/recipes/msnbc.recipe +++ b/recipes/msnbc.recipe @@ -23,7 +23,7 @@ class MsNBC(BasicNewsRecipe): use_embedded_content = False encoding = 'utf8' publisher = 'msnbc.com' - language = 'en' + language = 'en_US' remove_empty_feeds = True ignore_duplicate_articles = {'title', 'url'} keep_only_tags = [ diff --git a/recipes/new_york_review_of_books.recipe b/recipes/new_york_review_of_books.recipe index c76078be13..d2eff8d35c 100644 --- a/recipes/new_york_review_of_books.recipe +++ b/recipes/new_york_review_of_books.recipe @@ -28,7 +28,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe): title = u'New York Review of Books' description = u'Book reviews' - language = 'en' + language = 'en_US' __author__ = 'Kovid Goyal' diff --git a/recipes/new_york_review_of_books_no_sub.recipe b/recipes/new_york_review_of_books_no_sub.recipe index 548ab2bf37..e36cd9978a 100644 --- a/recipes/new_york_review_of_books_no_sub.recipe +++ b/recipes/new_york_review_of_books_no_sub.recipe @@ -28,7 +28,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe): title = u'New York Review of Books (no subscription)' description = u'Book reviews' - language = 'en' + language = 'en_US' __author__ = 'Kovid Goyal' diff --git a/recipes/nytimes_cooking.recipe b/recipes/nytimes_cooking.recipe index 76873b0ff5..dc466d246c 100644 --- a/recipes/nytimes_cooking.recipe +++ b/recipes/nytimes_cooking.recipe @@ -7,7 +7,7 @@ class NYTCooking(BasicNewsRecipe): title = 'NY Times Cooking' description = 'NY Times Cooking Magazine' __author__ = 'gourav' - language = 'en' + language = 'en_US' encoding = 'utf-8' oldest_article = 2 max_articles_per_feed = 30 diff --git a/recipes/nytimes_sports.recipe b/recipes/nytimes_sports.recipe index 2ad3c65387..8086ca729a 100644 --- a/recipes/nytimes_sports.recipe +++ b/recipes/nytimes_sports.recipe @@ -23,7 +23,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class NYTimesSports(BasicNewsRecipe): title = 'New York Times Sports Beat' - language = 'en' + language = 'en_US' __author__ = 'rylsfan' description = 'Indepth sports from the New York Times' publisher = 'The New York Times' diff --git a/recipes/oakland_north.recipe b/recipes/oakland_north.recipe index 8504fa2139..eaa62e9c97 100644 --- a/recipes/oakland_north.recipe +++ b/recipes/oakland_north.recipe @@ -8,7 +8,7 @@ class AdvancedUserRecipe1299640653(BasicNewsRecipe): oldest_article = 30 max_articles_per_feed = 100 - language = 'en' + language = 'en_US' __author__ = 'noah' description = 'Oakland North' category = 'news' diff --git a/recipes/oc_register.recipe b/recipes/oc_register.recipe index 9e8fda9eb7..5e489b404d 100644 --- a/recipes/oc_register.recipe +++ b/recipes/oc_register.recipe @@ -18,7 +18,7 @@ class OrangeCountyRegister(BasicNewsRecipe): auto_cleanup = True extra_css = 'div.metaAuthor { display:none;}\n' encoding = 'utf8' - language = 'en' + language = 'en_US' needs_subscription = False no_stylesheets = True oldest_article = 7 diff --git a/recipes/san_fran_chronicle.recipe b/recipes/san_fran_chronicle.recipe index 20d9d21af6..02ed91ebc9 100644 --- a/recipes/san_fran_chronicle.recipe +++ b/recipes/san_fran_chronicle.recipe @@ -13,7 +13,7 @@ class SanFranciscoChronicle(BasicNewsRecipe): title = u'San Francisco Chronicle' __author__ = u'Darko Miletic and Sujata Raman' description = u'San Francisco news' - language = 'en' + language = 'en_US' oldest_article = 7 max_articles_per_feed = 100 diff --git a/recipes/sanjosemercurynews.recipe b/recipes/sanjosemercurynews.recipe index ddb96cb9e8..233b86f635 100644 --- a/recipes/sanjosemercurynews.recipe +++ b/recipes/sanjosemercurynews.recipe @@ -21,7 +21,7 @@ class MercuryNews(BasicNewsRecipe): no_stylesheets = True use_embedded_content = False encoding = 'utf-8' - language = 'en' + language = 'en_US' conversion_options = { 'comment': description, 'tags': category, 'publisher': publisher, 'language': language diff --git a/recipes/seattle_times.recipe b/recipes/seattle_times.recipe index fafada2e9f..558f0c26e8 100644 --- a/recipes/seattle_times.recipe +++ b/recipes/seattle_times.recipe @@ -27,7 +27,7 @@ class SeattleTimes(BasicNewsRecipe): no_stylesheets = True use_embedded_content = False encoding = 'utf-8' - language = 'en' + language = 'en_US' keep_only_tags = [ classes('article-header featured-media article-body') diff --git a/recipes/sfbg.recipe b/recipes/sfbg.recipe index cce5aa6af0..6ecfe519c0 100644 --- a/recipes/sfbg.recipe +++ b/recipes/sfbg.recipe @@ -3,7 +3,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class SanFranciscoBayGuardian(BasicNewsRecipe): title = u'San Francisco Bay Guardian' - language = 'en' + language = 'en_US' __author__ = 'Krittika Goyal' oldest_article = 31 # days max_articles_per_feed = 25 diff --git a/recipes/st_louis_post_dispatch.recipe b/recipes/st_louis_post_dispatch.recipe index bbb2ef36b5..c7538688ff 100644 --- a/recipes/st_louis_post_dispatch.recipe +++ b/recipes/st_louis_post_dispatch.recipe @@ -4,7 +4,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class StLouisPostDispatch(BasicNewsRecipe): title = u'St Louis Post-Dispatch' __author__ = 'cisaak' - language = 'en' + language = 'en_US' category = 'newspaper' masthead_url = 'http://farm5.static.flickr.com/4118/4929686950_0e22e2c88a.jpg' diff --git a/recipes/tmz.recipe b/recipes/tmz.recipe index 96fa160261..c78264be2f 100644 --- a/recipes/tmz.recipe +++ b/recipes/tmz.recipe @@ -5,7 +5,7 @@ class AdvancedUserRecipe1282101454(BasicNewsRecipe): title = 'The TMZ' __author__ = 'Tony Stegall' description = 'Celeb Gossip and News' - language = 'en' + language = 'en_US' publisher = 'The TMZ' category = 'news, celebrity, USA' oldest_article = 1 diff --git a/recipes/tulsaworld.recipe b/recipes/tulsaworld.recipe index 23e33608ff..5a8f81266b 100644 --- a/recipes/tulsaworld.recipe +++ b/recipes/tulsaworld.recipe @@ -20,7 +20,7 @@ class TulsaWorld(BasicNewsRecipe): no_stylesheets = True encoding = 'utf8' use_embedded_content = False - language = 'en' + language = 'en_US' country = 'US' auto_cleanup=True remove_empty_feeds = True diff --git a/recipes/usatoday.recipe b/recipes/usatoday.recipe index 23ace39e94..d5518aaf1d 100644 --- a/recipes/usatoday.recipe +++ b/recipes/usatoday.recipe @@ -24,7 +24,7 @@ class USAToday(BasicNewsRecipe): __author__ = 'Kovid Goyal, unkn0wn' description = 'newspaper' encoding = 'utf-8' - language = 'en' + language = 'en_US' use_embedded_content = False timefmt = ' [%d %b %Y]' diff --git a/recipes/usnews.recipe b/recipes/usnews.recipe index 52055d80fb..756ba82ab0 100644 --- a/recipes/usnews.recipe +++ b/recipes/usnews.recipe @@ -19,7 +19,7 @@ class LaPrensa(BasicNewsRecipe): no_stylesheets = True use_embedded_content = False encoding = 'utf-8' - language = 'en' + language = 'en_US' auto_cleanup = True feeds = [ diff --git a/recipes/wash_times.recipe b/recipes/wash_times.recipe index a0a061dd5e..22d702c82d 100644 --- a/recipes/wash_times.recipe +++ b/recipes/wash_times.recipe @@ -12,7 +12,7 @@ class WashingtonTimes(BasicNewsRecipe): title = 'Washington Times' max_articles_per_feed = 15 - language = 'en' + language = 'en_US' __author__ = 'Kos Semonski' preprocess_regexps = [(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in diff --git a/recipes/wsj_free.recipe b/recipes/wsj_free.recipe index 9b1bc4f594..d818c5ec7b 100644 --- a/recipes/wsj_free.recipe +++ b/recipes/wsj_free.recipe @@ -35,8 +35,8 @@ class WSJ(BasicNewsRecipe): else: title = 'The Wall Street Journal (free)' __author__ = 'Kovid Goyal' - description = 'News and current affairs' - language = 'en' + description = 'Old code. Use WSJ recipes by unkn0wn' + language = 'en_US' masthead_url = 'https://s.wsj.net/media/wsj_amp_masthead_lg.png' compress_news_images = True