



Hi altogether,
does anybody know the exact command I have to use to download part of a website that consists of more than one page (with wget). Example:
I want to download a certain page which exists within a forum. There´s an article dealing with "stderr" within this forum.
The address is : "https://forum.ubuntuusers.de/topic/stderr-umleitungen/" AND "https://forum.ubuntuusers.de/topic/stderr-umleitungen/2/" as it consists of two pages.
What I want to do is download both pages with one command, but not the entire forum. How do I go about typing the correct command?
Tnx a lot. Rosika
P.S.: System: Linux/Lubuntu 16.04.2 LTS, 64bit
---------------------------------------------------------------------------------------------------------------
Edit:
Hi everyone.
in the meantime the problem could be solved. If anyone is interested:
The correct commands would be:
wget -Ek https://example.com/foo/bar/{,2}
for the download of two pages.
wget -Ek https://example.com/foo/bar/{3,4,5,6}
wget -Ek https://example.com/foo/bar/{3..6}
Either of the above commands for the download of several pages.
Reference: http://askubuntu.com/questions/886891/wget-command-for-downloading-more-than-one-page
Greetings.
Rosika
1 Guest(s)
