bugGNU Wget - Bugs: bug #50173, wget not converting links and...


bug #50173: wget not converting links and downloading correctly

Submitter:  None
Submitted:  Sun 29 Jan 2017 01:47:58 AM UTC
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Kun Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.18
Operating System:  GNU/Linux Reproducibility:  None
Fixed Release:  trunk Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 30 Jan 2017 11:39:22 AM UTC, comment #1: 

I can reproduce the described behavior with wget 1.18.

But it seems to be fixed in trunk (= alpha release 1.19).

BlumeSimonCh21.pdf appears two times, one as relative URL (being loaded) and as absolute URL to a different host (not being loaded).

Bernoulli.pdf appears only once as absolute URL to a different host (not being loaded).

Tim Ruehsen <rockdaboot>
Group administrator
Sun 29 Jan 2017 01:47:58 AM UTC, original submission:  

When running wget -r -k -l 1 "http://econ.ucsb.edu/~tedb/Courses/GraduateTheoryUCSB/TheoryF16.html", the process successfully completes but a number of files are not downloaded and a number of absolute link are not converted. For example, the file "BlumeSimonCh21.pdf" is linked twice in the html source code, one as relative and another as absolute path, both belonging to the same host. The latter links to the actual website over the internet rather than linking to the local file. Moreover, the file "Bernoulli.pdf" is not downloaded by wget despite being in the same host directory. I tried adding `-H` to the wget command, these problems still occur.

Some other notes: The manual says when `-r` is specified, wget downloads simply overwrite the old file with the new one if they are the same file.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-30 rockdaboot Fixed ReleaseNone trunk

    Back to the top

    Powered by Savane 3.13-3cd0.
    Corresponding source code