im trying to get all the Images from certain url using python.
So the usage of beautiful soup is strait Forward, but i'm facing the problem, that not all img tags are printed in the console. A closer look to the desired HTML file shows that the missing Images are coming from Angular, because they have a data-ng-src tag.
Is there any way to tell soup to wait until all scripts have finished? Or is there a nother way to detect all img tags?
My code so far:
import urllib2
from BeautifulSoup import BeautifulSoup
page = BeautifulSoup(urllib2.urlopen(url))
allImgs = imgs = page.findAll('img')
print allImgs