Fixed a bug in image extraction. If all images in a page have the computed weight exactly 0 (image like <img src="first-image.jpg"/>, no alt, title or dimensions), they were not added to the images list. Due to this condition no element is returned and thus no images added to the list.
Fixed a bug in image extraction. If all images in a page have the computed
weight
exactly0
(image like<img src="first-image.jpg"/>
, no alt, title or dimensions), they were not added to the images list. Due to this condition no element is returned and thus no images added to the list.Added a test for this use case as well.
Thanks!