Skip to content

Commit 0709584

Browse files
authored
Merge pull request #69 from CarlosSTS/new/get_update_at
2 parents 0b0ea5c + 80e16f2 commit 0709584

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/providers/android.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ export const getAndroidVersion = async (bundleId, country) => {
2525
const text = await res.text();
2626
const version = text.match(/\[\[\[['"]((\d+\.)+\d+)['"]\]\],/)[1];
2727
const notes = text.match(/<div itemprop="description">(.*?)<\/div>/)?.[1];
28+
const updateAt = text.match(/<div class="xg1aie">(.*?)<\/div>/)?.[1];
2829

2930
return {
3031
version: version || null,
3132
releasedAt: (new Date()).toISOString(),
33+
updateAt: updateAt || "",
3234
notes: notes || "",
3335
url: `https://play.google.com/store/apps/details?id=${bundleId}&hl=${country}`,
3436
lastChecked: (new Date()).toISOString()

0 commit comments

Comments
 (0)