read web page javascript
hi there,
I want to use a javascript to read a web page , not to load it in my browser, and get some information for processing. Any ideas how to do that? Thank you. |
You mean you want to scrape it?
Scraping is usually done by downloading the webpage and then parsing it server-side. The server-side code to do so isn't usually Javascript, although it of course can be (if you're using something like Node.js). For parsing the HTML, here are some recommendations: http://stackoverflow.com/questions/2...parser-is-best BTW, your previous posts would indicate that you wrote "Javascript" when you meant "Java code". DON'T DO THAT. |
All times are GMT -5. The time now is 10:58 AM. |