In Python it is very simple: pandas.read_html("some URL");
I am wondering what's the best way to do this in Javascript. Is there some existing library that can help with this?
In Python it is very simple: pandas.read_html("some URL");
I am wondering what's the best way to do this in Javascript. Is there some existing library that can help with this?
You might want to take a look at DOMParser this will create a document object where you can perform any kind of manipulation as any normal html page.
example:
var doc = DOMParser.parseFromString("<html code here>", "text/html");
var tables = doc.querySelectorAll('table'); // returns NodeList
You should fetch the html string from another part of your program.