Both nytimes recipes now need subscriptions

This commit is contained in:
Kovid Goyal 2011-02-23 20:17:51 -07:00
parent fe064ee18d
commit f42f736cc1
2 changed files with 6 additions and 6 deletions

View File

@ -88,8 +88,8 @@ class NYTimes(BasicNewsRecipe):
if headlinesOnly: if headlinesOnly:
title='New York Times Headlines' title='New York Times Headlines'
description = 'Headlines from the New York Times' description = 'Headlines from the New York Times. Needs a subscription from http://www.nytimes.com'
needs_subscription = False needs_subscription = True
elif webEdition: elif webEdition:
title='New York Times (Web)' title='New York Times (Web)'
description = 'New York Times on the Web' description = 'New York Times on the Web'

View File

@ -96,18 +96,18 @@ class NYTimes(BasicNewsRecipe):
if headlinesOnly: if headlinesOnly:
title='New York Times Headlines' title='New York Times Headlines'
description = 'Headlines from the New York Times' description = 'Headlines from the New York Times'
needs_subscription = False needs_subscription = True
elif webEdition: elif webEdition:
title='New York Times (Web)' title='New York Times (Web)'
description = 'New York Times on the Web' description = 'New York Times on the Web'
needs_subscription = True needs_subscription = True
elif replaceKindleVersion: elif replaceKindleVersion:
title='The New York Times' title='The New York Times'
description = 'Today\'s New York Times' description = 'Today\'s New York Times'
needs_subscription = True needs_subscription = True
else: else:
title='New York Times' title='New York Times'
description = 'Today\'s New York Times' description = 'Today\'s New York Times. Needs subscription from http://www.nytimes.com'
needs_subscription = True needs_subscription = True
@ -676,7 +676,7 @@ class NYTimes(BasicNewsRecipe):
if hlines: if hlines:
for hline in hlines: for hline in hlines:
hline.extract() hline.extract()
#find all section headers #find all section headers
hlines = runAround.findAll('h6') hlines = runAround.findAll('h6')
if hlines: if hlines: