mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-08 14:44:46 +00:00
Convert PDF URL to a string
This commit is contained in:
parent
3fcee872b6
commit
1018b8332b
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ def search_url(obj, url_data, pageno, seen_objs):
|
|||
if isinstance(obj, dict):
|
||||
for key, value in obj.items():
|
||||
if key == 'URI':
|
||||
url_data.add_url(value, page=pageno)
|
||||
url_data.add_url(value.decode("ascii"), page=pageno)
|
||||
else:
|
||||
search_url(value, url_data, pageno, seen_objs)
|
||||
elif isinstance(obj, list):
|
||||
|
|
|
|||
Loading…
Reference in a new issue