mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 07:26:18 -05:00
Singlefile is encoded, not readability.
This commit is contained in:
parent
90d3b8ca65
commit
c921fdc33c
1 changed files with 4 additions and 4 deletions
|
|
@ -101,13 +101,13 @@ def request_archive(url: str):
|
|||
|
||||
if not singlefile:
|
||||
logger.info(f'Failed to get singlefile for {url=}')
|
||||
else:
|
||||
# Decode and decompress.
|
||||
singlefile = base64.b64decode(singlefile)
|
||||
singlefile = gzip.decompress(singlefile)
|
||||
|
||||
if not readability:
|
||||
logger.info(f'Failed to get readability for {url=}')
|
||||
else:
|
||||
# Decode and decompress.
|
||||
readability = base64.b64decode(readability)
|
||||
readability = gzip.decompress(readability)
|
||||
|
||||
if not screenshot:
|
||||
logger.info(f'Failed to get screenshot for {url=}')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue