[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Wget bug - srcset
From: |
Bence Bojti |
Subject: |
[Bug-wget] Wget bug - srcset |
Date: |
Thu, 1 Feb 2018 14:00:42 +0100 |
Dear Developers!
I have a problem with the Wget 1.18 (installed from standard repo of Debian
9).
I need wget to mirroring a website with --page-requisites.
Unfortunately on my website, which I want to mirror ( https://mno.hu ),
there are lot of <picture> tag with a few <source srcset="...">. This is
valid html5 code.
For example:
<picture>
<source media="(min-width: 1238px)" srcset="/test/1.jpg">
<source media="(min-width: 926px)" srcset="/test/2.jpg">
<source media="(min-width: 614px)" srcset="/test/3.jpg">
<img src="/test/4.jpeg" alt="Alt text">
</picture>
In this situation the wget doesn't download the images given in the srcset.
Just the img src.
On this page https://savannah.gnu.org/forum/forum.php?forum_id=8568 I can
read, that the version 1.18 can handle the srcset: "Parse <img srcset>
attributes on a recursive download. ".
But I dont know that this refers just to the srcset within the <img> tag,
and not the <source>, or this is a bug in this release. But all the same.
It would be great, if wget would follow the new html stanards, 'cause I
cannot use so now for my site. :(
Best regards!
Bence Bojti
- [Bug-wget] Wget bug - srcset,
Bence Bojti <=