All en-US recipes belong in plain en move the outliers

This commit is contained in:
Kovid Goyal 2023-07-12 17:37:16 +05:30
parent 877dd2da1d
commit 7ff965be8b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
8 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@ class ClimateProgress(BasicNewsRecipe):
encoding = 'utf-8'
language = 'en'
lang = 'en-US'
lang = 'en'
direction = 'ltr'
html2lrf_options = [

View File

@ -7,7 +7,7 @@ class EpochTimes(BasicNewsRecipe):
title = 'The Epoch Times'
__author__ = 'Kovid Goyal'
description = 'US general news'
language = 'en_US'
language = 'en'
encoding = 'utf-8'
oldest_article = 2
max_articles_per_feed = 10

View File

@ -11,7 +11,7 @@ class AdvancedUserRecipe1639926896(BasicNewsRecipe):
title = "Equestria Daily"
description = "Everything new in Equestria and beyond!"
language = 'en_US'
language = 'en'
# Max. supported by website: 50
max_articles_per_feed = 30

View File

@ -29,7 +29,7 @@ class NOAA(BasicNewsRecipe):
use_embedded_content = False
simultaneous_downloads = 1
encoding = 'utf-8'
lang = 'en-US'
lang = 'en'
language = 'en'
remove_tags = [dict(name=['embed', 'object']), dict(name='div', attrs={'id': 'leftNav'}), dict(name='div', attrs={'id': 'topNav'}), dict(name='div', attrs={'class': 'feedback_box'}), dict(name='div', attrs={'id': 'midBlock'}), dict(name='div', attrs={'id': 'footer'}) ] # noqa

View File

@ -7,7 +7,7 @@ class NYTCooking(BasicNewsRecipe):
title = 'NY Times Cooking'
description = 'NY Times Cooking Magazine'
__author__ = 'gourav'
language = 'en_US'
language = 'en'
encoding = 'utf-8'
oldest_article = 2
max_articles_per_feed = 30

View File

@ -17,7 +17,7 @@ class SBM(BasicNewsRecipe):
category = 'science, sbm, ebm, blog, pseudoscience'
language = 'en'
lang = 'en-US'
lang = 'en'
conversion_options = {
'comment': description, 'tags': category, 'publisher': publisher, 'language': lang, 'pretty_print': True

View File

@ -20,7 +20,7 @@ class TheBudgetFashionista(BasicNewsRecipe):
encoding = 'utf-8'
publisher = 'TBF GROUP, LLC.'
category = 'news, fashion, cosmetics, women'
lang = 'en-US'
lang = 'en'
language = 'en'
auto_cleanup = True

View File

@ -28,7 +28,7 @@ class Uncrate(BasicNewsRecipe):
encoding = 'utf-8'
publisher = 'Zombie corp.'
category = 'news, gadgets, clothes, cars, DVDs'
lang = 'en-US'
lang = 'en'
language = 'en'
html2lrf_options = [