mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
All en-US recipes belong in plain en move the outliers
This commit is contained in:
parent
877dd2da1d
commit
7ff965be8b
@ -30,7 +30,7 @@ class ClimateProgress(BasicNewsRecipe):
|
||||
encoding = 'utf-8'
|
||||
language = 'en'
|
||||
|
||||
lang = 'en-US'
|
||||
lang = 'en'
|
||||
direction = 'ltr'
|
||||
|
||||
html2lrf_options = [
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user