Handle "data:" URLs.
This commit is contained in:
parent
8664725c7b
commit
16eded172d
3
macli.py
3
macli.py
@ -86,6 +86,9 @@ def archive(content, base_url, selector, directory, attribute, progbar):
|
||||
if attribute not in part.attrs:
|
||||
continue
|
||||
|
||||
if part[attribute].startswith('data:'):
|
||||
continue
|
||||
|
||||
href = urllib.parse.urljoin(base_url, part[attribute],
|
||||
allow_fragments=False)
|
||||
progbar.next_iter(href)
|
||||
|
Loading…
Reference in New Issue
Block a user