How to get this iframe content
#1
I have tried to get iframe content from a page. But every time page loads it gives unique source for iframe src. I cannot grab the contents from iframe.
I have tried beautifulSoup but it doesn't give me content of iframe. only what I can get is source of external link. If I try to load that external file later with request, it gives me blank content.

I have tried this

Code:
from BeautifulSoup import BeautifulSoup
soup = BeautifulSoup(urllib2.urlopen(url))
print soup

any help please..
Reply
#2
import requests

#
#Get HTML page
#
html_source = requests.get(url).text

# Parse response
soup = BeautifulSoup( html_source )
Reply

Logout Mark Read Team Forum Stats Members Help
How to get this iframe content0