question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Archive Method: Wget: unrecognized option '--compression=auto'

See original GitHub issue

Hey there, I just pulled the master and poked around and then I realized that the wget command isn’t working correctly. Running via docker-compose.

Describe the bug

wget is being executed with the following standard parameters:

wget --no-verbose --adjust-extension --convert-links --force-directories --backup-converted --span-hosts --no-parent --compression=auto -e robots=off --restrict-file-names=unix --timeout=60 --warc-file=warc/1553663964 --page-requisites "--user-agent=ArchiveBox/58c9b47d4 (+https://github.com/pirate/ArchiveBox/) wget/1.18" https://www.theatlantic.com/health/archive/2014/05/why-medicine-is-cheaper-in-germany/371418/

If I run this outside of the script, I get a wget: unrecognized option '--compression=auto' which makes wget basically stopp working.

Steps to reproduce

Run the above mentioned wget command

My workaround was to edit archivebox/archive_methods.py manually inside the container and comment out the compression=auto there.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bradparkscommented, Mar 31, 2019

I get this error as well, and I just cloned this now, March 30 at 9:12 PM AST

0reactions
piratecommented, Jul 24, 2020

This should be fixed on the latest django branch. If you’re still seeing any issues comment back here and I’ll reopen the ticket.

git checkout django
git pull
docker build . -t archivebox
docker run -v $PWD/output:/data archivebox init
docker run -v $PWD/output:/data archivebox add 'https://example.com'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Wget: unrecognized option '--compression=auto' · Issue #196
Describe the bug wget is being executed with the following standard ... Archive Method: Wget: unrecognized option '--compression=auto' #196.
Read more >
How could --compression be missing from my wget?
But now on Ubuntu, I have: GNU Wget 1.19.4, a non-interactive network retriever. There is a relatively new option called --compression that was ......
Read more >
Topic: Different wget versions - OpenWrt Forum Archive
wget : unrecognized option: help. Usage: wget [options] <> Options: -4: Use IPv4 only -6: Use IPv6 only -q: Turn off status messages...
Read more >
Configuration — ArchiveBox 0.6.3 documentation
Available Configuration Options: General Settings: Archiving process, output format, and timing. Archive Method Toggles: On/off switches for methods. Archive ...
Read more >
Modified Bios for KVM/Qemu/Bochs Bios? | Page 2
Hi guys, I patched acpi.c for that you don't need any mods to kvm/qemu soft. It's a little hack of acpitable's parameters. When...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found