bug-wget
[Top][All Lists]
Advanced

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

Re: Relative links for wget2


From: Matt Huszagh
Subject: Re: Relative links for wget2
Date: Sun, 22 Aug 2021 21:10:27 -0700

Tim Rühsen <tim.ruehsen@gmx.de> writes:

> this works as expected with wget2 built from latest git master. Which 
> reminds me that we urgently need a new release.
>
> If you want to build wget2 from tarball (which is more hassle-free than 
> building from git master), follow the instruction from 
> https://gitlab.com/gnuwget/wget2/#downloading-and-building-from-tarball). 
> Don't 
> forget to install the requisites beforehand.
>
> Feel free to ask here if you run into trouble.

Ok, so I just tried the latest master
(7c7bbf2c2752f1038f10fb298330fe7c93811030). And mostly that's fixed the
issues I was seeing! The first URL I posted appears as I'd
expect. However, I'm still having some trouble with the Wikipedia
download:

wget2 --robots=off --page-requisites --adjust-extension --convert-links=on 
https://en.wikipedia.org/wiki/EPROM

I still can't get it to download all of the image page
prerequisites. These point to URLs rather than local files. For example,

<div class="thumb tleft"><div class="thumbinner" style="width:252px;"><a 
href="https://en.wikipedia.org/wiki/File:EPROM_Intel_C1702A.jpg"; 
class="image"><img alt="" 
src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/EPROM_Intel_C1702A.jpg/250px-EPROM_Intel_C1702A.jpg";
 decoding="async" width="250" height="130" class="thumbimage" 
srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/EPROM_Intel_C1702A.jpg/375px-EPROM_Intel_C1702A.jpg
 1.5x, 
https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/EPROM_Intel_C1702A.jpg/500px-EPROM_Intel_C1702A.jpg
 2x" data-file-width="1275" data-file-height="665" /></a>  <div 
class="thumbcaption"><div class="magnify"><a 
href="https://en.wikipedia.org/wiki/File:Eprom.jpg"; class="internal" 
title="Enlarge"></a></div>An Intel 1702A EPROM, one of the earliest EPROM types 
(1971), 256 by 8 bit. The small quartz window admits UV light for 
erasure.</div></div></div>

Is that expected?

Best
Matt



reply via email to

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