I am trying to get youtube links embedded in a webpage. When I retrieve the page using urllib2 I don’t see the link in the response. I think the embedded video is retrieved by a script on the page which gets loaded when I use a browser. How do I get the same using python’s urllib2 ?
A sample webpage is http://busymovies.appspot.com/News.html?id=2965032
To extract dynamically generated (with javascript) content you could use selenium:
Output