How to get this iframe content - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: How to get this iframe content (/showthread.php?tid=235334) |
How to get this iframe content - Cyberrule - 2015-08-14 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 any help please.. RE: How to get this iframe content - Skipmode A1 - 2015-08-15 import requests # #Get HTML page # html_source = requests.get(url).text # Parse response soup = BeautifulSoup( html_source ) |