I'm having some issue with the headless chromium-browser not creating the html files correctly. The only thing / file that gets created is a single {}.html file
My domains.txt contains:
https://ibm.com/
https://www.linux.org/whats-new/
PS: I'm using Ubuntu 18.04 64bit linux
The command I use is below:
cat domains.txt | xargs -I {} -P 4 sh -c timeout 25s chromium-browser --headless --no-sandbox --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537. 36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36' --dump-dom https://{} 2> /dev/null > {}.html
This was take from this link