Google play crawler


With the code of Market API , Apk downloader, Playframework and some other code (reverse the .proto from apk downloader), I made a google play crawler. link

Here’s the .proto used the same way as in apk downloader

package com.google;

message MarketRequest {
		required AuthBody auth = 1;
		required group Pack = 2 {
			optional PackageName packageName = 10;  // android id converted to hexadecimal
		}
}

message PackageName{
	required string name = 1;;
}

message AuthBody{
        required string authSubToken = 1; // authsub token for service 'android'
        required bool isSecure = 2; // is this a secure request or not
        required int32 version = 3;  // always 1002
        required string deviceId = 4;  // android id converted to hexadecimal
        optional string deviceAndSdkVersion = 5; // ro.product.device ':' ro.build.version.sdk 
        optional string locale = 6; // ro.product.locale.language
        optional string country = 7; // ro.product.locale.region
        optional string operatorAlpha = 8; // gsm.operator.alpha
        optional string simOperatorAlpha = 9; // gsm.sim.operator.alpha
        optional string operatorNumeric = 10; // gsm.operator.numeric
        optional string simOperatorNumeric = 11; // sim.gsm.operator.numeric
}
package com.google;

message MarketResponse {
	required group RespBody = 1{
		required bytes header1 = 2;
		required AppInfo info = 9;
	}
}

message AppInfo {
	required group AppInfoBody = 1 {
		required string appId = 2;
		required string appName = 3;
		required string type = 4;
		required string packageName = 5;
		required string downloadUrl = 6;
		required string ParamGroup = 7;
		required int32 someId1 = 8;
		required int32 someType1 = 10;
		required int32 someType2 = 11;
		required int32 someId3 = 12;
		required string market = 13;
		required string marketDA = 14;
	}
}

Google play crawler”的一个响应

Add yours

  1. 请问镜像的数据还在不断更新么? 我看到有的app详情页面更新时间是2013年4月,但是如何做到更新的呢?

  2. 谢谢~那请问你是多久更新一次呢, 比如这个应用 com.TBSAppsAndGames.paint 官网更新日期是5月12日,镜像是3月29日。另外看到镜像上一个最近更新的应用是 com.bwx.bequick ,更新日期是4月24日。 那就是粗略地说 4月24日到5月12日期间数据没有更新?

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

w

Connecting to %s

在WordPress.com的博客.

向上 ↑

%d 博主赞过: