Em manual :
With HTTP URLs, Wget retrieves and parses the HTML or CSS from the given URL, retrieving the files the document refers to, through markup like
href
orsrc
, or CSS URI values specified using the ‘url()
’ functional notation. If the freshly downloaded file is also of typetext/html
,application/xhtml+xml
, ortext/css
, it will be parsed and followed further.Recursive retrieval of HTTP and HTML/CSS content is breadth-first. This means that Wget first downloads the requested document, then the documents linked from that document, then the documents linked by them, and so on. In other words, Wget first downloads the documents at depth 1, then those at depth 2, and so on until the specified maximum depth.