google-play-scraper icon indicating copy to clipboard operation
google-play-scraper copied to clipboard

can't get kr rankings.

Open berrybar opened this issue 3 years ago • 15 comments
trafficstars

  • Operating System: windows 10
  • Node version: 10.16.0
  • google-play-scraper version: 8.0.4

Description:

When I tested in the US and Japan, I was able to get the value. But when I set it to Korea, I couldn't get the value at all. It hasn't been since December 1st in Korea, and it seems to have found a problem. It seems that the Korean Google Play ranking collection url is pointing to the wrong path. Can I get feedback on this?

Example code:

await G.list({
            category: G.category.GAME,
            collection: collection,
            num: 200,
            lang: 'ko',
            country: 'kr',
            throttle: 10
        })

Error message:

Error: The collection topgrossing is invalid for the given category, top apps or new apps

berrybar avatar Dec 02 '21 08:12 berrybar

What I found in the region kr, hk and tw, app detail page layout upgrade to the new version. The lib's parse function should be updated so.

ansoncen avatar Dec 07 '21 11:12 ansoncen

I agree with that opinion.

berrybar avatar Dec 08 '21 09:12 berrybar

@VitaliyRDev

druphliu avatar Dec 27 '21 02:12 druphliu

on 7 Dec 2021

I also encountered this problem. How did you solve it? Please tell me

13389203735 avatar Jan 11 '22 15:01 13389203735

我在kr、hk和tw地区发现,app详情页布局升级到新版本。lib的解析 我也出现了这个问题,你是怎么解决的,麻烦告知一下

13389203735 avatar Jan 11 '22 15:01 13389203735

What I found in the region kr, hk and tw, app detail page layout upgrade to the new version. The lib's parse function should be updated so.

I use the dev branch code locally, but I found that the app store can't get information in Kr, HK and tw

I also have this problem. How did you solve it? Please tell me

13389203735 avatar Jan 11 '22 15:01 13389203735

@ansoncen I use the dev branch code locally, but I found that the app store can't get information in Kr, HK and tw

I also have this problem. How did you solve it? Please tell me

13389203735 avatar Jan 11 '22 16:01 13389203735

on 7 Dec 2021

I also encountered this problem. How did you solve it? Please tell me

I also haven't solved it yet.

berrybar avatar Jan 13 '22 03:01 berrybar

Looks like google completely changed the kr store as @ansoncen pointed out. The URL used by the lib is redirecting to /apps: https://play.google.com/store/apps/top/category/GAME/?hl=ko&gl=kr

I'm not sure if this new store version has the top or new URL anymore.

Apparently, it does have some way to get the top/new apps, but differently than we do today: https://play.google.com/store/apps/category/GAME?hl=ko&gl=kr

icarcal avatar Jan 18 '22 15:01 icarcal

@icarcal

There is still no way to solve this problem, right? Now apps in Kr and other countries can't get useful information

13389203735 avatar Jan 18 '22 16:01 13389203735

Looks like google completely changed the kr store as @ansoncen pointed out. The URL used by the lib is redirecting to /apps: https://play.google.com/store/apps/top/category/GAME/?hl=ko&gl=kr

I'm not sure if this new store version has the top or new URL anymore.

Apparently, it does have some way to get the top/new apps, but differently than we do today: https://play.google.com/store/apps/category/GAME?hl=ko&gl=kr

I have raised a concern that google may sooner or later apply the new store to all the regions.

ansoncen avatar Jan 19 '22 04:01 ansoncen

Yes i think that's very likely. Ideally we'd have support for both and switch when they do, but I don't have the bandwidth to start working on the new scraper at the moment.

facundoolano avatar Jan 19 '22 12:01 facundoolano

Any updates on this? I found all the play store page has been updated to the new layout, while the API still works for the time. I found some browsers still can open the old version (could be the A/B test), this might be the reason the API still works for now.

ansoncen avatar May 17 '22 12:05 ansoncen

can you check if this still happens with the latest version?

facundoolano avatar Jun 24 '22 01:06 facundoolano

The mall under th (Thailand) has no data image

你能检查一下最新版本是否仍然发生这种情况?

13389203735 avatar Jun 29 '22 13:06 13389203735