facundoolano/google-play-api

Incorrect playstoreUrl

chinlun opened this issue · 4 comments

playstoreUrl attribute in /app/ endpoint doesn't always returns the correct URL. Sometimes it give me an url with my host name instead of Google play store's host name.

Can you show me a sample url where you see the error?

Hi @facundoolano,

I don't have a sample url on public domain as I am only testing it on local. Following is the url on my local machine.

http://local.mediamath.com:3000/api/apps/com.rovio.baba

The playstoreUrl will only show the correct url on the first time. If you refresh it, it will use my own host name instead of Google Play's. I also noticed the developer.devId attribute will keep adding a sub level attribute on every refresh.

ok, I was able to reproduce. It happens with all apps actually. Let me look into it.

Pushed a fix, thanks for reporting!