diff --git a/calibre-plugin/ffdl_plugin.py b/calibre-plugin/ffdl_plugin.py
index b99aab4..8d2e0fd 100644
--- a/calibre-plugin/ffdl_plugin.py
+++ b/calibre-plugin/ffdl_plugin.py
@@ -922,7 +922,8 @@ make_firstimage_cover:true
book_list = job.result
good_list = filter(lambda x : x['good'], book_list)
- bad_list = filter(lambda x : x['calibre_id'] and not x['good'], book_list)
+ bad_list = filter(lambda x : not x['good'], book_list)
+ print("book_list:%s"%book_list)
payload = (good_list, bad_list, options)
msg = '''
@@ -937,14 +938,14 @@ make_firstimage_cover:true
status = book['status']
else:
status = 'Good'
- htmllog = htmllog + '
| ' + ' | '.join([status,book['title'],", ".join(book['author']),book['comment'],book['url']]) + ' |
'
+ htmllog = htmllog + '| ' + ' | '.join([escapehtml(status),escapehtml(book['title']),escapehtml(", ".join(book['author'])),escapehtml(book['comment']),book['url']]) + ' |
'
for book in bad_list:
if 'status' in book:
status = book['status']
else:
status = 'Bad'
- htmllog = htmllog + '| ' + ' | '.join([status,book['title'],", ".join(book['author']),book['comment'],book['url']]) + ' |
'
+ htmllog = htmllog + '| ' + ' | '.join([escapehtml(status),escapehtml(book['title']),escapehtml(", ".join(book['author'])),escapehtml(book['comment']),book['url']]) + ' |
'
htmllog = htmllog + '