Get all image links from webpage

We use the module urllib2 to download webpage data. Any webpage is formatted using a markup language known as HTML.

Extracting image links:
To extract all image links use:

Explanation
First we import the required modules:

We get the webpage data using:

Then we extract all image links using:

Finally we print the links: