diff --git a/main.go b/main.go index fa71843..f3cdd87 100644 --- a/main.go +++ b/main.go @@ -290,22 +290,23 @@ func AwemeRequest(path string) ([]byte, error) { ) rq, e = http.NewRequest("GET", "http://api-t.tiktok.com" + path + "&device_id=" + DeviceId + - "&iid=0" + - "&version_code=100303" + - "&build_number=10.3.3" + - "&version_name=10.3.3" + + //"&iid=0" + + "&version_code=140403" + + "&build_number=14.3.3" + + "&version_name=14.3.3" + "&aid=1233" + "&app_name=musical_ly" + "&app_language=en" + "&channel=googleplay" + "&device_platform=android" + "&device_brand=Google" + - "&device_type=Android%20SDK%20built%20for%20x86" + + "&device_type=Pixel%204%20XL" + "&os_version=" + Os, nil) if e != nil { return nil, e } - rq.Header.Set("User-Agent", "okhttp") + //rq.Header.Set("User-Agent", "okhttp") + rq.Header.Set("User-Agent", "com.zhiliaoapp.musically (Android " + Os + "; Pixel 4 XL)") if len(Ip) > 0 { rq.Header.Set("X-Forwarded-For", Ip) }