I want to get app last update date from Google Play.
I have found this answer on StackOverflow (https://stackoverflow.com/a/36509726/10050477), but it's about retrieving app version.
I have changed the code to:
updateDate = Jsoup.connect("https://play.google.com/store/apps/details?id=com.tencent.ig&hl=en")
.timeout(30000)
.userAgent("Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6")
.referrer("http://www.google.com")
.get()
.select("div.hAyfc:nth-child(1) > span:nth-child(1) > div:nth-child(1) > span:nth-child(1)").toString();
Log.d(TAG, updateDate);
} catch (IOException e) {
e.printStackTrace();
}
But the result is missing and I get the following error: W/ResourceType: No package identifier when getting the name for resource number 0x00000000
I have tried different ways to select the text, but no results.
Please, help me.
User contributions licensed under CC BY-SA 3.0