Change the title of the NYT Web edition to include (Web)

This commit is contained in:
Kovid Goyal 2018-09-10 08:42:51 +05:30
parent bc11157f5b
commit b6057fd108
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 2 deletions

View File

@ -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'

View File

@ -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'