mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-24 07:03:03 +02:00
fix title None error
This commit is contained in:
@@ -40,7 +40,7 @@ def validate_links(links):
|
|||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
|
|
||||||
for link in links:
|
for link in links:
|
||||||
link['title'] = unescape(link['title'].strip()) if link['title'].strip() else None
|
link['title'] = unescape(link['title'].strip()) if link['title'] else None
|
||||||
check_link_structure(link)
|
check_link_structure(link)
|
||||||
|
|
||||||
return list(links)
|
return list(links)
|
||||||
|
Reference in New Issue
Block a user