egirault / googleplay-api

Google Play Unofficial Python API - This project was a PoC and is not maintained anymore. Please feel free to fork it and improve it in any way.
879 stars 373 forks source link

cannot download paid apps #17

Open zhicai opened 11 years ago

zhicai commented 11 years ago

hi, i got the following error when trying downloading paid app from google play store:

Traceback (most recent call last): File "download.py", line 43, in data = api.download(packagename, vc, ot) File "/home/zxia10x/free/googleplay.py", line 261, in download cookie = message.payload.buyResponse.purchaseStatusResponse.appDeliveryData.downloadAuthCookie[0] File "/usr/lib/python2.7/dist-packages/google/protobuf/internal/containers.py", line 64, in getitem return self._values[key] IndexError: list index out of range

it seems that the the format of messages are different between paid and free.

so, would you please fix it? thanks

nikaro commented 11 years ago

Same issue, I can't download paid apps that I bought on Google Play Store.

jeffhiltz commented 11 years ago

I see the same error trying to download a free app. Another user has seen it while searching. See issue #23.

nikaro commented 11 years ago

@jeffhiltz with free apps I had this issue too, but it was my ANDROIDID which was bad. May be you need to check it.

jeffhiltz commented 11 years ago

@NiKaro127 Most of the downloads I've tried work, it's just the odd one that fails so I think the ANDROIDID is okay. Thanks for the idea.