diff --git a/recipes/business_standard_print.recipe b/recipes/business_standard_print.recipe index 9fa39a08bc..c2d1afbbf5 100644 --- a/recipes/business_standard_print.recipe +++ b/recipes/business_standard_print.recipe @@ -3,9 +3,10 @@ import json from datetime import datetime -from calibre.web.feeds.news import BasicNewsRecipe from html5_parser import parse +from calibre.web.feeds.news import BasicNewsRecipe + class BusinessStandardPrint(BasicNewsRecipe): title = 'Business Standard Print Edition' @@ -116,9 +117,9 @@ class BusinessStandardPrint(BasicNewsRecipe): date = (datetime.fromtimestamp(int(data['publishDate']))).strftime('%b %d, %Y | %I:%M %p') authors = [] - if 'articleMappedMultipleAuthors' in data: + if 'articleMappedMultipleAuthors' in data: for aut in data['articleMappedMultipleAuthors']: - authors.append(data['articleMappedMultipleAuthors'][str(aut)]) + authors.append(data['articleMappedMultipleAuthors'][str(aut)]) auth = '

' + ', '.join(authors) + ' | ' + data['placeName'] + ' | ' + date + '

' if 'featuredImageObj' in data: