Web scraping with pure Javascript


I want to do a web scraping that reads an XML page and takes a certain value from the "name", but I don't know exactly if it's possible – I just found how to do it with NodeJS -, is it possible to do it with pure JS? No external libraries and/or frameworks?


There's nothing stopping you from downloading an XML and analyzing its content. The only problem with doing this in a browser would be the same-origin policy , which would prevent you from accessing arbitrary addresses via Javascript.

Scroll to Top