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?

29th Dec 2020, 8:34 AM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar
3 Antworten
+ 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>
29th Dec 2020, 8:47 AM
Art1mis
+ 1
very nice thank you
29th Dec 2020, 2:45 PM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar
0
Why does everyone call it "scrapping" its "scraping" because you like peel the page back and have a copy of it.
27th Jan 2021, 7:35 AM
⊹≒tɧε8шσσɖɕนttεг≓⊹
⊹≒tɧε8шσσɖɕนttεг≓⊹ - avatar