Did that Kovid but this is the error message that came up
calibre, version 1.37.0
ERROR: Invalid input: <p>Could not create recipe. Error:<br>invalid syntax (<string>, line 23)
Here is the code again
class AdvancedUserRecipe1400969285(BasicNewsRecipe):
title = u'NBC News'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = False
filterDuplicates = True
remove_empty_feeds = True
feeds = [
(u'Top Stories' , u'http://feeds.nbcnews.com/feeds/topstories' )
,(u'U.S. News' , u'http://feeds.nbcnews.com/feeds/usnews' )
,(u'Technology' , u'http://feeds.nbcnews.com/feeds/technology' )
,(u'Investigations' , u'http://feeds.nbcnews.com/feeds/investigations' )
,(u'Business' , u'http://feeds.nbcnews.com/feeds/business' )
,(u'Science' , u'http://feeds.nbcnews.com/feeds/science' )
,(u'Health' , u'http://feeds.nbcnews.com/feeds/health' )
]
remove_tags = [
dict(name='div', attrs={'class':lambda x: x and 'video' in x.split())}),
]
|