How to get XMLHTTPRequest response text of external web page using Java? -


i struggled parse data external website, example, stackoverflow.com, using java. find out webpage went chrome development tools , found there xmlhttprequest response information need! if useful, response has json format. question how data using java , without servlets.

don't try grab , parse web page, use stackexchange api , standard java tools make request , raw data.

if actual question isn't related directly then, well, api site in question. otherwise going need literally scrape web page parsing manually or running page in browser engine , using standard js in headless engine data out.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -