Page 1 of 1

wget and Windows OS problem.

Posted: 2020-08-27 09:45
by hack3rcon
Hello,
I used below command to download a whole website for reading it as oofline:

Code: Select all

$ wget --level=inf --recursive --page-requisites --user-agent=Mozilla --no-parent --convert-links --adjust-extension --no-clobber -e robots=off "URL"
But, some the files contain forbidden printable ASCII characters like "?", ":", "*" and Windows can't open them. How can I solve it?

Thank you.

Re: wget and Windows OS problem.

Posted: 2020-08-27 11:21
by sickpig
hack3rcon wrote:How can I solve it?
Human sacrifice.

Re: wget and Windows OS problem.

Posted: 2020-08-27 17:10
by cuckooflew
Ask Bill Gates, or one of his fan boys at a MS windows forum.
Use some logic, maybe the website you are scraping does not want bots scraping it and has some parts protected, to keep the bots from scraping it and using the material else where.
The OP is not even willing to try searching, they are a broken bot , using a broken OS, so they probably will never know:
Warning: some antivirus tools recognise wget-1.20.3-win32.zip as potentially dangerous. The file that triggers the warning is wget.exe.debug, which contains debugging symbols for wget.exe, and isn't even executable. If your AV is giving you trouble, and you don't need the documentation or debug symbols, you can download wget.exe directly, or switch to a less broken security product.
The only bot that really does good searches is the google bot, it can solve anything that has a solution.

Re: wget and Windows OS problem.

Posted: 2020-08-27 17:33
by Head_on_a_Stick
sickpig wrote:Human sacrifice.
I vote we sacrifice the OP :mrgreen:

Re: wget and Windows OS problem.

Posted: 2020-08-28 15:55
by RU55EL
hack3rcon wrote:Hello,
I used below command to download a whole website for reading it as oofline:

Code: Select all

$ wget --level=inf --recursive --page-requisites --user-agent=Mozilla --no-parent --convert-links --adjust-extension --no-clobber -e robots=off "URL"
But, some the files contain forbidden printable ASCII characters like "?", ":", "*" and Windows can't open them. How can I solve it?
1) Delete the Windows operating system.

2) Install Debian

Problem solved.

Re: wget and Windows OS problem.

Posted: 2020-08-28 17:42
by reinob
hack3rcon wrote:Hello,
I used below command to download a whole website for reading it as oofline:

Code: Select all

$ wget --level=inf --recursive --page-requisites --user-agent=Mozilla --no-parent --convert-links --adjust-extension --no-clobber -e robots=off "URL"
But, some the files contain forbidden printable ASCII characters like "?", ":", "*" and Windows can't open them. How can I solve it?

Thank you.
You really don't read any manuals do you?

Check with "man wget". I promise you will find the necessary option, if you can read at all.
If you REALLY can't find it in the manual page, then ask again, but really, it IS there.