0
How can I put an iframe of a different site (domain) on my page?
I want to kind of scrape some client side code realtime from a site and use it on my site as a sort of shortcut before I get a good enough handle on the game API but im not sure how to get past cross origin in an iframe. Any help?
3 Respuestas
+ 1
This stackoverflow thread might provide an explanation to the error.
https://stackoverflow.com/questions/40866219/how-to-resolve-iframe-cross-domain-issue
Further, for web scraping using Nodejs you can read this article.
https://www.scrapingbee.com/blog/web-scraping-javascript/
Moreover, if you wish to experiment on web scraping using javascript in sololearn, you can use cors-anywhere.
https://cors-anywhere.herokuapp.com/<link-of-website>
+ 1
very nice thank you
0
Why does everyone call it "scrapping" its "scraping" because you like peel the page back and have a copy of it.