mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-24 11:47:04 -04:00
fix archive_dot_org repsonse parsing bytes vs str bug
This commit is contained in:
parent
71d215367b
commit
94123ca68c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ def save_archive_dot_org(link: Link, out_dir: Optional[Path]=None, timeout: int=
|
|||
status = 'succeeded'
|
||||
timer = TimedProgress(timeout, prefix=' ')
|
||||
try:
|
||||
result = run(cmd, cwd=str(out_dir), timeout=timeout)
|
||||
result = run(cmd, cwd=str(out_dir), timeout=timeout, text=True)
|
||||
content_location, errors = parse_archive_dot_org_response(result.stdout)
|
||||
if content_location:
|
||||
archive_org_url = content_location[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue