Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

wget only download the index.html

hi guys i want to get video from this site (https://5sep.zetfix.online/films/burja/) but wget only downloads index.html what is my mistake?

wget -r --no-cookies --no-check-certificate --page-requisites --span-hosts --convert-links --no-directories --directory-prefix=output -e robots=off --header="Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7" --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" --header="Accept-Encoding: gzip, deflate, br" --header="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" --header="Referer: https://5sep.zetfix.online/films/poltora-dnja/" –wait 5 –randomwait https://5sep.zetfix.online/films/burja/

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You are supplying a header which tells the remote that you accept gzipped input:

–header="Accept-Encoding: gzip, deflate, br"

However, wget does not seem to appreciate when it gets actual gzip response – saves that response to index.html as gzipped stream and does not extract any further links.

If you remove that parameter, actual recursive downloading begins.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading