How do I get the content of a webpage that loads HTML into an iFrame using Javascript?
-
The URL remains the same, yet content gets added to the page when you click links on it. I prefer doing this in Python. Thanks!
-
Answer:
PhantomJS is a http://phantomjs.org/ which would be well suited for this, see the wiki page on https://github.com/ariya/phantomjs/wiki/Page-Automation
Jamie Mason at Quora Visit the source
Other answers
You can use selenium to simulate the user interactions with a real browser and then get the source of the final page. Found a really nice tutorial here http://www.tidbitsofprogramming.com/2014/02/crawling-website-that-loads-content.html
Praveen Kumar
Related Q & A:
- How do I get thinner legs and a flat stomach?Best solution by Yahoo! Answers
- How can I get the font size of text in elements within a webpage?Best solution by Stack Overflow
- How can i get backstage passes to a concert?Best solution by Yahoo! Answers
- How can I get in touch with a Mechanical Engineer?Best solution by nationalcareersservice.direct.gov.uk
- How can I get an interview with a Pilot?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.