I am trying to scrape image ‘src’ from the img tag on flipkart. I am using selenium and beautifulsoup. When I run the code:
pics = soup.findAll('img', class_="_396cs4 _3exPp9")
for i in pics:
src = i['src']
print(src)
it gives the ‘src’ of the image but the ‘src’ is some kind of minified link i.e. //img1a.flixcart.com/www/linchpin/fk-cp-zion/img/placeholder_fcebae.svg
and it is not a real link.
How to extract that?
Source: Python Questions