[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | How to perform wget -L in wget2 (#604)

From: @rockdaboot
Subject: Re: wget2 | How to perform wget -L in wget2 (#604)
Date: Sat, 25 Jun 2022 16:46:02 +0000

Tim Rühsen commented:

Maybe there is a misunderstanding (not sure tbh)

So just some background:
Remote access (through HTTP/HTTPS) is the same, no matter if a page uses 
absolute or relative links.
But local access (e.g. after downloading a website with wget -r/-m) differs. 
Relative links access files stored locally, absolute links will access the 
remote content via HTTP/HTTPS.

If you want to prevent the latter (remote access), use `--convert-links` when 
downloading a web site with `-r` or `-m`. In this case, every link in HTML 
pages will be converted into a relative one. Except the link could not be 
downloaded - in that case it will be converted into an absolute link.

Reply to this email directly or view it on GitLab: 
You're receiving this email because of your account on gitlab.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]