eight04 / image-picka

A Firefox/Chrome extension helping you download images.
MIT License
161 stars 19 forks source link

Image Picka doesn't use referrerpolicy from the image if there is a link detected. #345

Open eight04 opened 5 months ago

eight04 commented 5 months ago

To Reproduce Steps to reproduce the behavior:

  1. Enable Detect images from links option
  2. Create a page with an <a> to the image and an <img> of the image.
  3. Add referrerpolicy to <img>
  4. Batch download

Since two URLs are the same, one is removed, including the information of referrerpolicy.

We should use a better method to decide which should be removed.

Expected behavior Image Picka should download the image correctly.

Environments (please complete the following information):