belaviyo / save-images

Save loaded images in nested iframe pages
https://webextension.org/listing/save-images.html
254 stars 61 forks source link

When the <img> tag is nested under the <a> tag, even if the level is set to 3, the original image cannot be downloaded. #56

Closed dujianchi closed 3 years ago

dujianchi commented 3 years ago

the source code of website like:

<a href="preview_html">
    <img src="thumbnail"/>
</a>

screenshot_20210430203536 screenshot_20210430204434

https://image.baidu.com/search/index?z=&tn=baiduimage&word=view&pn=0&ie=utf-8&oe=utf-8&fr=&se=&sme=&width=1920&height=1080

ray-lothian commented 3 years ago

I added an example to the test page based on your report and the extension can grab the original image only when the deep search is set to level 2. However, I was not able to debug the provided page. This page is very slow on my network so running level two is pretty much not doable!

What is your browser?

dujianchi commented 3 years ago

I added an example to the test page based on your report and the extension can grab the original image only when the deep search is set to level 2. However, I was not able to debug the provided page. This page is very slow on my network so running level two is pretty much not doable!

What is your browser?

My English is not very good. If there is any inappropriate expression, please forgive me.

The browser I use is "Firefox 88.0 (64 bit)". According to what you say I tried again, set to level 2 and just check "save if unknown", it really works, but the downloaded file contains some button pictures or web icons. Does not particularly affect the use. The site opens slowly, probably because it mainly provides service for my country.

dujianchi commented 3 years ago

It may just be me improper use, rather than issue. Thank you for everything.