From 18d16bc28a97f2a0f2d6d64a6b40d139b2033edc Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:51:20 +0530 Subject: [PATCH] en to en_us --- recipes/american_thinker.recipe | 2 +- recipes/amspec.recipe | 2 +- recipes/aprospect.recipe | 2 +- recipes/baltimore_sun.recipe | 2 +- recipes/boston.com.recipe | 2 +- recipes/boston_globe_print_edition.recipe | 2 +- recipes/cincinnati_enquirer.recipe | 2 +- recipes/cnn.recipe | 2 +- recipes/dailyreckoning.recipe | 2 +- recipes/denver_post.recipe | 2 +- recipes/foxnews.recipe | 2 +- recipes/icons/irish_times_free.png | Bin 0 -> 372 bytes recipes/kstar.recipe | 2 +- recipes/las_vegas_review.recipe | 2 +- recipes/latimes.recipe | 2 +- recipes/miami_herald.recipe | 2 +- recipes/msnbc.recipe | 2 +- recipes/new_york_review_of_books.recipe | 2 +- recipes/new_york_review_of_books_no_sub.recipe | 2 +- recipes/nytimes_cooking.recipe | 2 +- recipes/nytimes_sports.recipe | 2 +- recipes/oakland_north.recipe | 2 +- recipes/oc_register.recipe | 2 +- recipes/san_fran_chronicle.recipe | 2 +- recipes/sanjosemercurynews.recipe | 2 +- recipes/seattle_times.recipe | 2 +- recipes/sfbg.recipe | 2 +- recipes/st_louis_post_dispatch.recipe | 2 +- recipes/tmz.recipe | 2 +- recipes/tulsaworld.recipe | 2 +- recipes/usatoday.recipe | 2 +- recipes/usnews.recipe | 2 +- recipes/wash_times.recipe | 2 +- recipes/wsj_free.recipe | 4 ++-- 34 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 recipes/icons/irish_times_free.png 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 0000000000000000000000000000000000000000..72eaba90ff212e5e9f0e3a47b590a4b9f59dd97f GIT binary patch literal 372 zcmV-)0gL{LP)2v$M0iySu%;y}`l3 z!otGF#>UIb%huM`*x1lR2z5n%ixRWI|o7jA9tCTkODMn*%U!s+HEf{45K1Qf^ zA{f?uDPD09K$tt{veuSelfoK#-!2O?ckze`nhc?bd@op=Ufl>O2*nG*cJGB`;!?=n z3*bVq|0(dH<&h6=gs?y}b70000