mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
config.py: add WGET_AUTO_COMPRESSION
This commit is contained in:
parent
ed7ad04fd9
commit
51859731d3
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ TEMPLATES_DIR = os.path.join(PYTHON_PATH, 'templates')
|
|||
CHROME_SANDBOX = os.getenv('CHROME_SANDBOX', 'True').lower() == 'true'
|
||||
USE_CHROME = FETCH_PDF or FETCH_SCREENSHOT or FETCH_DOM
|
||||
USE_WGET = FETCH_WGET or FETCH_WGET_REQUISITES or FETCH_WARC
|
||||
WGET_AUTO_COMPRESSION = not run([WGET_BINARY, "--compression=auto", "--help"], stdout=DEVNULL).returncode
|
||||
|
||||
########################### Environment & Dependencies #########################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue