'download specific image from the list

my manager asked me to create script to download images for our client. These are images for goods on a market place. Every image exist on a separate page about this good. For example web page for item1 is https://content/item/item1 and I have to find item URL for image on this page and download it.

The problem is that the list has about 1000 lines. Every line in a list leads to separate page.

I tried this solution Download image file from the HTML page source using python? but it works for only one page, and downloads all images.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source