Download all the apps listed on the Google Play Developer Console page

I want to get all the application data that is listed on the developer console page. for this i am analyzing ajax request from firebug console.
1) GET to the authentication page ( https://play.google.com/apps/publish/ ), collect cookies and other information

2) POST using these values ​​+ my login credentials to get xsrftoken and developersconsoleaccounts variables

3) Then do the POST requests https://play.google.com/apps/publish/insights?dev_acc=devID and set the post var xsrftoken, method, params

it returns some garbage data

<¬TÉnÛ0ý • I, qZ²À ‰ 6èv) × ¢ = "8S¤JÒ-A @ £ ¿× /)) ÛÙŠº \ DhH½šI ^} xyóåãkhl + oo? APYg (ó'EK¡l¨6h³¹ÈÕ® & I <Ù , cß) m¡TÒ ¢ 'u -ur) © Àlr "' óö¡Ðsf! > Œá, -H -A <mked Ì_k4 \ "pò ^ Yx £ æ & ° ÝO] ¹åtÝR] s IG㲎Ã-} V ÊÊ ‰ '- Ý2 ¢ n T; = g JCj ^" × -gμöñQUUI © "ÒñQE ÷ ~ bS (¶ÚÓMÎ, 0iér + => ¿" eâLyÝ8â + _Øcœ "in €: ... GUS-N, ïûqT-p \ ª6à-ÑèÓ0V ... ²ãNÖ # ~" A18 (Shiu = Ñyz ¢ n / X 2O} ‰ Z ® "eà † 3 † rà ¥ YïLO§ÓÄâÒ † ¥ Oor% s © $ n (ð¶ ^ J3Ô.â-2Na" Q • N, ~ NËhýÜ ÇI¶rU] U8 "Ài © p³9ªV ~ 'ÿäÖ' · 66§ûxö • "§ºF ‰ ùàvr ± ZOYA} Ûègôà® + <† OZ" 'êŽló $ ESS "~ gŒôX̸% Þà®Ç: ¾DA † {£ ÿî1Ù3> Ãï0¾w½¿RÆè AERP ‰ ¤ªœ% "®¹tÿm²ý + & -®g6i ° Io" Np-ÒŠb5Ôh76 (4 "ìõnRtTúï <O0 SIIP (EMR € [hžvyZänèŒÓ E.! U'ß4ÔþøöݸLa u{¾îÎÞ4¿ÎÑXdðùÓ;è©qqX¨¼ww# NAi × qãçxB @ 0 "ªßCÎaþÿÿ ™ EYR ...

but when I parse in firbug, this url returns a json obj that contains all the information about user applications

In my case, it returns the garbage value instead of the user array.

+8
php curl google-play
source share
1 answer

This is GZIPped compressed data. This seems to be 404 page if you usually request it.

If you take your firebug request and look at the headers that were sent there, you will have to add these headers to the request (most likely).

If you can reproduce the query with the appropriate headers, it will probably return the correct data. Even though I'm not sure if Google likes what you do ... You might want to check it out.

0
source share

All Articles