iFrames? #58
thomasrice
started this conversation in
General
Replies: 1 comment
-
|
Yes, that's your best approach here. IFrames are almost always problematic in Web Scraping since they have their own policies and so on that the browser respects automatically |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to easily scrape content from iFrames?
E.g. This page loads documents in an iFrame once you scroll down, which I can see if I launch it in non-headless mode and have a page_action to scroll down, but the returned page doesn't seem to have the contents of the iFrame.
I guess one way to do this it to check for page.css("iframe") then re-fetch the iframe URLs directly if they seem relevant.
Beta Was this translation helpful? Give feedback.
All reactions