mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix parser bailing out with IndexError
This commit is contained in:
parent
965130815d
commit
734c99cfdb
2 changed files with 2 additions and 2 deletions
2
parse.py
2
parse.py
|
@ -49,7 +49,7 @@ def parse_links(path):
|
|||
links += list(parser_func(file))
|
||||
if links:
|
||||
break
|
||||
except (ValueError, TypeError):
|
||||
except (ValueError, TypeError, IndexError):
|
||||
# parser not supported on this file
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue