
String content = EntityUtils.toString(rsp.getEntity()) Įlement price = doc.select("").first() įor that very simple use case that should get you started. Int statusCode = rsp.getStatusLine().getStatusCode() HttpResponse rsp = httpClient.execute(request) With JSoup you can try: HttpClient httpClient = HttpClientBuilder.create().build() So that in mind getting one page metadata is a matter of fetching the page html and parsing it properly. by having test to make sure you get what you expected. GPlay website is not an API, it doesn't care that you parse it so it will change over time.The page of an app is big - make sure you accept gzip and request the mobile version.Send a correct User-Agent header to actually show you are a bot.Make sure that you are not doing it too often, Google will throttle and potentially blacklist you if you are doing it too much.Make sure the URL you are trying to parse is not blocked in robots.txt - e.g.If you want to build one yourself you can try to parse the Google Play App page, but you should pay attention to the following: Disclaimer: I am from 42matters, who provides this data already on, feel free to check it out or drop us a line.Īs lenik mentioned there are open-source libraries that already help with obtaining some data from GPlay.
