Akdeniz / google-play-crawler

Play with Google Play API :)
Other
562 stars 204 forks source link

How it works without android id ? #15

Open Artgit opened 11 years ago

Artgit commented 11 years ago

I am just wondering how it works without android id ? I'm really surpised about that. I just provided google username an password and that's it. Is it normal to work without valid android id ? Thanks.

Fuzion24 commented 11 years ago

There is logic to generate a 'valid' Android ID and then register it with a google account.

Artgit commented 11 years ago

@Fuzion24 , thanks for your answer.So, it could be used in concurrency environment and each Google Play API client will generate a 'valid' Android ID ? If so, this is really great !

Fuzion24 commented 11 years ago

Actually, I am not sure how Google would respond to that, I personally just rotate a bunch of google accounts. This particular project is a bit difficult to deal with in a concurrent sense because all of the IO is sync. I ended up rewriting all of this project in Scala to take advantage of NIO... You could probably get away with swapping out the network layer with something like https://github.com/AsyncHttpClient/async-http-client .. Let me know how the androidID per environment goes. I actually never considered that and is an interesting approach.

Artgit commented 11 years ago

@Fuzion24, thanks, I'll investigate it. One more question - how many accounts do you use? And how much delay between requests should be used in order to avoid 503 error ?

Sure, you could avoid answer on this question and I'll understand it. Anyway, thanks you !