+ "droidguard_results": {"-"},

This commit is contained in:
Steven Penny 2023-02-20 05:44:06 -06:00
parent c5d50e9ef1
commit bf8d0a62d5
5 changed files with 13 additions and 12 deletions

View File

@ -19,7 +19,7 @@ func New_Auth(email, password string) (*Response, error) {
"Email": {email},
"Passwd": {password},
"client_sig": {""},
"droidguard_results": {"."},
"droidguard_results": {"-"},
}.Encode()
req, err := http.NewRequest(
"POST", "https://android.googleapis.com/auth",
@ -29,8 +29,8 @@ func New_Auth(email, password string) (*Response, error) {
return nil, err
}
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
var hello tls.Client_Hello
if err := hello.UnmarshalText(tls.Android_API_26()); err != nil {
hello := tls.New_Client_Hello()
if err := hello.UnmarshalText(tls.Android_API()); err != nil {
return nil, err
}
res, err := Client.Transport(hello.Transport()).Do(req)

View File

@ -36,6 +36,7 @@ func main() {
flag.BoolVar(&f.single, "s", false, "single APK")
// v
flag.Uint64Var(&f.version, "v", 0, "app version")
// verbose
flag.BoolVar(&f.verbose, "verbose", false, "verbose")
flag.Parse()
if f.verbose {

2
go.mod
View File

@ -2,7 +2,7 @@ module 2a.pages.dev/googleplay
go 1.19
require 2a.pages.dev/rosso v1.0.8
require 2a.pages.dev/rosso v1.1.0
require (
github.com/andybalholm/brotli v1.0.5 // indirect

4
go.sum
View File

@ -1,5 +1,5 @@
2a.pages.dev/rosso v1.0.8 h1:ddm/S/v8N8E5msE1dZBlgRv0vHLXOHFG9ElaDcPNfYI=
2a.pages.dev/rosso v1.0.8/go.mod h1:BdsjSTjdUXzcr3IdZ/LdA/NqWVMI+AesF6Nq24eyowY=
2a.pages.dev/rosso v1.1.0 h1:tvuaH5+crIWbJlSpT1oqFclDHaco2zdsJj/q1tDPK5w=
2a.pages.dev/rosso v1.1.0/go.mod h1:BdsjSTjdUXzcr3IdZ/LdA/NqWVMI+AesF6Nq24eyowY=
github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs=
github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=

View File

@ -50,11 +50,11 @@ Get app details:
> googleplay -a com.google.android.youtube
Title: YouTube
Creator: Google LLC
Upload Date: Jan 9, 2023
Version: 18.01.36
Version Code: 1535370688
Num Downloads: 13.27 billion
Installation Size: 47.42 megabyte
Upload Date: Feb 10, 2023
Version: 18.06.35
Version Code: 1536024000
Num Downloads: 13.48 billion
Installation Size: 48.08 megabyte
File: APK APK APK APK
Offer: 0 USD
~~~
@ -70,7 +70,7 @@ provided by the previous details command. If APK is split, all pieces will be
downloaded:
~~~
googleplay -a com.google.android.youtube -v 1535370688
googleplay -a com.google.android.youtube -v 1536024000
~~~
## Contact