From b6057fd108ec176b744814e31c0d0289ed2f863f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 Sep 2018 08:42:51 +0530 Subject: [PATCH] Change the title of the NYT Web edition to include (Web) --- recipes/nytimes.recipe | 3 ++- recipes/nytimes_sub.recipe | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index 6af8e1188d..94359ce9a5 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -67,10 +67,11 @@ def classes(classes): class NewYorkTimes(BasicNewsRecipe): - title = 'The New York Times' if is_web_edition: + title = 'The New York Times (Web)' description = 'New York Times (Web). You can edit the recipe to remove sections you are not interested in.' else: + title = 'The New York Times' description = 'Today\'s New York Times' encoding = 'utf-8' __author__ = 'Kovid Goyal' diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index 99decdce12..88de536bdb 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -67,10 +67,11 @@ def classes(classes): class NewYorkTimes(BasicNewsRecipe): - title = 'The New York Times' if is_web_edition: + title = 'The New York Times (Web)' description = 'New York Times (Web). You can edit the recipe to remove sections you are not interested in.' else: + title = 'The New York Times' description = 'Today\'s New York Times' encoding = 'utf-8' __author__ = 'Kovid Goyal'