I just wanted to get an idea about the basics of getting data off a random website, one without api, like scraping headlines off some random news websites like a small one called bloomberg or ft. I see xmlhttprequest is used, but with cross-domain security, we need to either hack it with json-p or one with cross-origin sharing. I think a server can be closed to CORS, right? just want a very basic idea about how to retrieve data (its html) off a site, not structured to share data.
As a cross-origin, I don't think below work, right.
https://flylib.com/books/en/4.254.1.64/1/
As a cross-origin, I don't think below work, right.
https://flylib.com/books/en/4.254.1.64/1/
Last edited: