PP助手介绍
是一个提供iOS资源下载和设备管理的绿色工具,界面清爽、海量资源、高速下载、功能丰富,全面适用于iPhone、iPad、iTouch
PP助手从iOS系统越狱起家,可支持iOS设备的软件、游戏、壁纸、铃声资源的下载安装。有业内人士称,PP助手是一家典型闷声赚钱的公司,类似蔡文胜的4399,不张扬,做的是“隐形冠军”,而且依靠的仅仅是iOS一端。
来自PP助手官方的数据显示,目前PP助手在iOS端用户达4000万,App日均下载量800万次以上,联运游戏月均流水近4000万。
现在被UC以1亿美元收购。
下面介绍PP助手软件中“正版应用”数据分析,一共是200页
抓取数据包
POST /index.html HTTP/1.1 Accept: */* Accept-Language: zh-cn tunnel-command: 4261425200 Referer: http://jsondata.25pp.com/index.html?tunnel-command=4261421120 Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Shuame; Shuame) Host: jsondata.25pp.com Content-Length: 70 Connection: Keep-Alive Cache-Control: no-cache Cookie: __utma=113739972.510119817.1388626434.1388626434.1388626434.1; __utmb=113739972.2.10.1388626434; __utmc=113739972; __utmz=113739972.1388626434.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) {"dcType":0,"resType":1,"listType":0,"catId":0,"perCount":15,"page":4}
上面的{
"dcType"
:
0
,
"resType"
:
1
,
"listType"
:
0
,
"catId"
:
0
,
"perCount"
:
15
,
"page"
:
4
}就是post的数据,page值代表页码,得到一个JSON数据
{"status":0,"pageCount":200,"content":[{"itemId":533738125,"buid":"com.yygongjiao.x","version":"1.76","title":"摇摇公交","fsize":"13.37M","dcType":1,"resType":13,"catId":6003,"catName":"旅行","thumb":"http://zbimg.25pp.com/images/artwork/141/533738125_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8xNDEvNTMzNzM4MTI1XzEzODg0NTQ3MTMuaXBh","urlcrc":3026537019,"stars":80,"publishtime":"2012-06-29","updatetime":"2013-12-30","downloads":3580,"monthdowns":732,"weekdowns":330,"price":0},{"itemId":522661666,"buid":"it.appideas.totaldownloader","version":"2.1.5","title":"多线程下载器 Total Downloader for videos, music and more","fsize":"38.25M","dcType":3,"resType":13,"catId":6016,"catName":"娱乐","thumb":"http://zbimg.25pp.com/images/artwork/34/522661666_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8zNC81MjI2NjE2NjZfMTM4ODQ1NDcwOC5pcGE=","urlcrc":1917627264,"stars":80,"publishtime":"2012-05-16","updatetime":"2013-12-30","downloads":14105,"monthdowns":2128,"weekdowns":601,"price":12000},{"itemId":521069195,"buid":"com.heimi.wifinder","version":"2.8.2","title":"WiFi免费通","fsize":"23.12M","dcType":1,"resType":13,"catId":6002,"catName":"工具","thumb":"http://zbimg.25pp.com/images/artwork/139/521069195_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8xMzkvNTIxMDY5MTk1XzEzODg0NTQ3MDkuaXBh","urlcrc":659753812,"stars":90,"publishtime":"2012-08-15","updatetime":"2013-12-30","downloads":160685,"monthdowns":23940,"weekdowns":7576,"price":0},{"itemId":564157241,"buid":"com.misfitwearables.Prometheus","version":"5.7.0","title":"Shine?","fsize":"23.16M","dcType":1,"resType":13,"catId":6013,"catName":"健康健美","thumb":"http://zbimg.25pp.com/images/artwork/57/564157241_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS81Ny81NjQxNTcyNDFfMTM4ODQ1NDcwOC5pcGE=","urlcrc":923836313,"stars":80,"publishtime":"2012-11-02","updatetime":"2013-12-30","downloads":139,"monthdowns":68,"weekdowns":32,"price":0},{"itemId":477032739,"buid":"com.coco.LockPhotosHD","version":"2.4","title":"照片保险柜 HD - 密码锁住你的照片和视频","fsize":"15.10M","dcType":2,"resType":13,"catId":6008,"catName":"摄影与录像","thumb":"http://zbimg.25pp.com/images/artwork/35/477032739_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8zNS80NzcwMzI3MzlfMTM4ODQ1NDcxMy5pcGE=","urlcrc":2477348900,"stars":80,"publishtime":"2011-11-08","updatetime":"2013-12-30","downloads":1750,"monthdowns":204,"weekdowns":148,"price":6000},{"itemId":422853458,"buid":"com.qiushibaike.qiushibaike","version":"2.6.4","title":"糗事百科","fsize":"6.79M","dcType":1,"resType":13,"catId":6018,"catName":"图书","thumb":"http://zbimg.25pp.com/images/artwork/82/422853458_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS84Mi80MjI4NTM0NThfMTM4ODQ1NDcxNS5pcGE=","urlcrc":4034100844,"stars":100,"publishtime":"2012-08-28","updatetime":"2013-12-30","downloads":145695,"monthdowns":17791,"weekdowns":4885,"price":0},{"itemId":469894441,"buid":"jp.co.visualworks.Photograd","version":"5.3","title":"照片处理软件 Photograd","fsize":"29.50M","dcType":1,"resType":13,"catId":6008,"catName":"摄影与录像","thumb":"http://zbimg.25pp.com/images/artwork/41/469894441_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS80MS80Njk4OTQ0NDFfMTM4ODQ1NDcwNy5pcGE=","urlcrc":1405745008,"stars":60,"publishtime":"2012-08-25","updatetime":"2013-12-30","downloads":5054,"monthdowns":1045,"weekdowns":371,"price":0},{"itemId":333252638,"buid":"com.foreflight.ForeFlightMobile","version":"5.5","title":"移动航空天气 ForeFlight Mobile","fsize":"42.03M","dcType":3,"resType":13,"catId":6001,"catName":"天气","thumb":"http://zbimg.25pp.com/images/artwork/30/333252638_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8zMC8zMzMyNTI2MzhfMTM4ODQ1NDcwNS5pcGE=","urlcrc":1443164244,"stars":60,"publishtime":"2012-08-22","updatetime":"2013-12-30","downloads":422,"monthdowns":114,"weekdowns":64,"price":0},{"itemId":676685014,"buid":"com.tipitap.drawingtogether","version":"1.3","title":"画在一起! Drawing Together!","fsize":"126.40M","dcType":3,"resType":13,"catId":6016,"catName":"娱乐","thumb":"http://zbimg.25pp.com/images/artwork/214/676685014_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8yMTQvNjc2Njg1MDE0XzEzODgzOTE1NzkuaXBh","urlcrc":2825456283,"stars":0,"publishtime":"2013-12-05","updatetime":"2013-12-30","downloads":725,"monthdowns":718,"weekdowns":159,"price":12000},{"itemId":606099659,"buid":"com.meitu.mpsq","version":"1.6.1","title":"美拍 - 发现身边的帅哥美女","fsize":"21.30M","dcType":1,"resType":13,"catId":6008,"catName":"摄影与录像","thumb":"http://zbimg.25pp.com/images/artwork/203/606099659_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8yMDMvNjA2MDk5NjU5XzEzODg0MTExMjAuaXBh","urlcrc":2678352662,"stars":90,"publishtime":"2013-03-10","updatetime":"2013-12-30","downloads":25999,"monthdowns":5983,"weekdowns":1546,"price":0},{"itemId":599282379,"buid":"com.dfzy.yqh.QRManage","version":"1.7","title":"二维码管家","fsize":"4.05M","dcType":1,"resType":13,"catId":6000,"catName":"商业","thumb":"http://zbimg.25pp.com/images/artwork/203/599282379_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8yMDMvNTk5MjgyMzc5XzEzODg0MTExMTIuaXBh","urlcrc":1730937461,"stars":0,"publishtime":"2013-02-21","updatetime":"2013-12-30","downloads":1883,"monthdowns":367,"weekdowns":342,"price":0},{"itemId":585140123,"buid":"com.hikvision.ivms5060lite","version":"3.2.4","title":"实时视频监控 iVMS-5060","fsize":"16.62M","dcType":1,"resType":13,"catId":6000,"catName":"商业","thumb":"http://zbimg.25pp.com/images/artwork/155/585140123_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8xNTUvNTg1MTQwMTIzXzEzODg0MTExMDMuaXBh","urlcrc":68782588,"stars":50,"publishtime":"2012-12-14","updatetime":"2013-12-30","downloads":3337,"monthdowns":1307,"weekdowns":619,"price":0},{"itemId":575147772,"buid":"jp.naver.lineplay","version":"2.1.3","title":"LINE互动 LINE PLAY","fsize":"31.23M","dcType":1,"resType":13,"catId":6005,"catName":"社交","thumb":"http://zbimg.25pp.com/images/artwork/252/575147772_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8yNTIvNTc1MTQ3NzcyXzEzODg0MTExMDQuaXBh","urlcrc":77641910,"stars":100,"publishtime":"2012-11-20","updatetime":"2013-12-30","downloads":5189,"monthdowns":302,"weekdowns":91,"price":0},{"itemId":424445937,"buid":"com.tinypiece.PSFotolr","version":"3.1.4","title":"照片工坊-Fotolr","fsize":"30.50M","dcType":3,"resType":13,"catId":6008,"catName":"摄影与录像","thumb":"http://zbimg.25pp.com/images/artwork/241/424445937_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS8yNDEvNDI0NDQ1OTM3XzEzODg0MTExMTYuaXBh","urlcrc":3442404846,"stars":90,"publishtime":"2012-09-01","updatetime":"2013-12-30","downloads":4248,"monthdowns":820,"weekdowns":455,"price":0},{"itemId":423081026,"buid":"cn.com.10jqka.ipad","version":"5.51.01","title":"同花顺HD (免费,炒股,股票,证券,理财,基金)","fsize":"6.69M","dcType":2,"resType":13,"catId":6015,"catName":"财务","thumb":"http://zbimg.25pp.com/images/artwork/66/423081026_54x54.jpg","downurl":"aHR0cDovL3pic29mdC4yNXBwLmNvbS9zaGFyZS82Ni80MjMwODEwMjZfMTM4ODQxMTExNC5pcGE=","urlcrc":336007185,"stars":90,"publishtime":"2012-01-18","updatetime":"2013-12-30","downloads":19241,"monthdowns":2604,"weekdowns":668,"price":0}]}
其中的downurl是下载地址,用base64解码即可。
比较简单,代码就不写了