ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
7.71k stars 172 forks source link

[New App Source] Tencent App Store (腾讯应用宝) #1848

Closed ArcticFoxPro closed 3 weeks ago

ArcticFoxPro commented 1 month ago

English

[!warning] I am not a native English speaker, and the following content has been machine-translated. To prevent any miscommunication of the meaning, I have left the original Chinese text below the English translation. If there are any inconsistencies between the Chinese and English versions, please refer to the Chinese version for accuracy.

[!note] I have just discovered a new app source and am informing this repository about it through an issue. Given that there are significant differences between my living area and the regions of the Obtainium developers and their audience, I cannot fully ascertain the technical availability and other impact factors of this source on Obtainium. Therefore, by raising this issue, I do not mean to request that the Obtainium author implement the acquisition of apps from this source within Obtainium.

[!important] Tencent App Store (腾讯应用宝, https://appstore.tencent.com/ and https://sj.qq.com/) appears to only include applications that have been registered with the Ministry of Industry and Information Technology (MIIT) in China and seems to provide services exclusively to users in mainland China.

Due to my current environment, I am unable to confirm whether the method I am providing is accessible outside of China. Please take note.

Introduction

I recently found out that Tencent App Treasure has an interface widely used by Tencent applications (such as Tencent QQ, Tencent Weixin (or WeChat), etc.), https://upage.html5.qq.com/wechat-apkinfo.

How to Use?

  1. Construct a JSON request body containing the Android package name. Example:
    {
      "packagename": "com.tencent.mm"
    }
  2. Send a POST request to https://upage.html5.qq.com/wechat-apkinfo and set the request header Content-Type: application/json.
  3. Receive the response, such as:

    ```JSON { "ret": 0, "err_msg": "", "has_next": 0, "offset": "0", "record_key_type": 0, "app_detail_records": { "com.tencent.mm": { "app_info": { "app_id": "10910", "name": "微信", "english_name": "", "package_name": "com.tencent.mm", "author": "深圳市腾讯计算机系统有限公司", "cp_id": 4432035, "category_id": 106, "category_name": "社交", "check_level": 40, "cur_apk_id": "16760688", "desc": "你可以通过音视频通话、群聊、朋友圈来和朋友们分享生活,可以通过公众号、视频号获得文章、视频内容,以及通过小程序方便地使用生活服务,还可以开启「关怀模式」,文字与按钮更大更清晰。", "publish_time": 1386696615, "create_time": 1386696615, "update_time": 1726820955, "self_developed": 0, "is_tencent_app": 1, "icon_timestamp": 1414664210, "status": 0, "tag": "19001001;", "alias": "微信", "download_cnt_total": "8931479944", "score_cnt5_total": "267575", "score_cnt4_total": "85772", "score_cnt3_total": "64783", "score_cnt2_total": "38544", "score_cnt1_total": "129819", "download_cnt_pc_total": "0", "install_cnt_total": "0", "download_cnt_mbtotal": "0", "tag_new": "1;180000007;187;2;243;244;274;275;4;", "ieg_tag": 0, "keyword": "", "tag_name": "聊天;语音;即时通讯;社区;社交;社交网络;通信聊天;通讯;交友;", "parent_category_id": -1, "involve_privacy": 0, "download_week": "399351", "is_official": 0, "mini_video_url": "", "mini_video_orientation": "", "mini_video_snap_shot": "", "mini_video_src_id": 0, "mini_video_src_name": "", "mini_video_src_logo": "", "mini_video_src_url": "", "is_tencent_yun": 1, "minner_data": { "cloudGameUV": "0", "downloadCnt": "8931479944", "isOfficial": "0", "manualSecurityTags": "7", "openAppType": "1", "privacyAgreement": "https://cftweb.3g.qq.com/privacy/privacyPolicy?content_id=e4056cc597f6bf204014e31a1429a36e", "qualityScore": "96", "systemSecurityTags": "9" }, "editor_score": 0, "open_app_id": "100733732", "category_idnew": 19, "category_name_new": "社交", "suitable_age": 16, "user_assurance": 0, "privacy_agreement": "https://cftweb.3g.qq.com/privacy/privacyPolicy?content_id=e4056cc597f6bf204014e31a1429a36e", "privacy_agreement_type": "", "developer": "深圳市腾讯计算机系统有限公司", "editor_intro": "微信,是一个生活方式", "online_status": 1, "security_tags": [ { "id": "7", "name": "无风险" }, { "id": "9", "name": "腾讯公司软件" } ], "risk_level": 0, "app_channel_attr": 0, "open_game_type": 0, "icp_number": "粤B2-20090059-1621A", "icp_entity": "深圳市腾讯计算机系统有限公司" }, "apk_all_data": { "apk_id": "125336605", "app_id": "10910", "name": "微信", "alias": "", "package_name": "com.tencent.mm", "version_code": 2720, "size_byte": "275737845", "version_name": "8.0.51", "status": 0, "feature": "本次更新:\r\n优化了一些已知的问题。", "lang": 0, "logo_big": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/96", "logo_mid": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/72", "logo_small": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/48", "snapshot_bigs": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/0" ], "snapshot_mids": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/550" ], "snapshot_smalls": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/330" ], "vedio_url": "", "ad_flag": 0, "content_level": 0, "fee_policy": 0, "security": 1, "is_official": 0, "create_time": 1726820955, "publish_time": 1726820955, "update_time": 1726820955, "apk_md5": "5176EFFF435AC49446A10FA20E043457", "sha1": "2A5E2EFABBFF2146B0011E507F1B8A87468C8FCC", "signature_md5": "AAA953DC012B1C3C46AAFD140EC024D4", "signature_md5_molo": "18C867F0717AA67B2AB7347505BA07ED", "data_source": 0, "source_site": "tap", "url": "http://imtt.dd.qq.com/sjy.40002/sjy.00004/16891/apk/5176EFFF435AC49446A10FA20E043457.apk?fsname=com.tencent.mm_8.0.51.apk", "dpi": "", "min_resolution_x": 0, "min_resolution_y": 0, "permissions": "android.permission.INTERACT_ACROSS_USERS;android.bluetooth.permissions.SHORTCUT_ACTION;com.tencent.bluetooth.permissions.SHORTCUT_ACTION;android.permission.CHANGE_WIFI_MULTICAST_STATE;com.tencent.mm.plugin.permission.READ;com.tencent.mm.plugin.permission.WRITE;com.tencent.mm.permission.MM_MESSAGE;com.huawei.authentication.HW_ACCESS_AUTH_SERVICE;com.google.android.providers.gsf.permission.READ_GSERVICES;android.permission.CHANGE_NETWORK_STATE;android.permission.FOREGROUND_SERVICE_HEALTH;android.permission.FOREGROUND_SERVICE_LOCATION;android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION;android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK;android.permission.ACCESS_NETWORK_STATE;android.permission.ACCESS_COARSE_LOCATION;android.permission.ACCESS_FINE_LOCATION;android.permission.CAMERA;android.permission.GET_TASKS;android.permission.INTERNET;android.permission.MODIFY_AUDIO_SETTINGS;android.permission.RECEIVE_BOOT_COMPLETED;android.permission.RECORD_AUDIO;android.permission.READ_CONTACTS;android.permission.VIBRATE;android.permission.WAKE_LOCK;android.permission.WRITE_EXTERNAL_STORAGE;com.android.launcher.permission.INSTALL_SHORTCUT;com.android.launcher.permission.UNINSTALL_SHORTCUT;com.android.launcher.permission.READ_SETTINGS;com.tencent.mm.location.permission.SEND_VIEW;android.permission.BLUETOOTH;android.permission.BLUETOOTH_ADMIN;android.permission.BLUETOOTH_SCAN;android.permission.BLUETOOTH_ADVERTISE;android.permission.BLUETOOTH_CONNECT;android.permission.BROADCAST_STICKY;android.permission.SYSTEM_ALERT_WINDOW;android.permission.CHANGE_WIFI_STATE;android.permission.GET_PACKAGE_SIZE;android.permission.DOWNLOAD_WITHOUT_NOTIFICATION;android.permission.NFC;com.miui.easygo.permission.READ_PERMISSION;android.permission.POST_NOTIFICATIONS;com.huawei.android.launcher.permission.CHANGE_BADGE;android.permission.WRITE_APP_BADGE;cn.cyberidentity.certification.AUTH;com.meizu.flyme.launcher.permission.WRITE_BADGE_EXTRAS;android.permission.DETECT_SCREEN_CAPTURE;android.permission.FOREGROUND_SERVICE_DATA_SYNC;com.tencent.mm.ext.permission.READ;com.tencent.mm.ext.permission.WRITE;android.permission.ACTIVITY_RECOGNITION;com.tencent.mm.wear.message;android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS;android.permission.READ_EXTERNAL_STORAGE;miui.permission.READ_STEPS;android.permission.HIDE_OVERLAY_WINDOWS;android.permission.FOREGROUND_SERVICE;android.permission.ACCESS_WIFI_STATE;com.open.gallery.smart.Read;com.open.gallery.smart.Write;com.open.gallery.smart.Provider;android.permission.USE_FULL_SCREEN_INTENT;android.permission.USE_FINGERPRINT;android.permission.USE_BIOMETRIC;com.tencent.mm.WAID_PROVIDER_WRITE;android.permission.FOREGROUND_SERVICE_MICROPHONE;android.permission.FOREGROUND_SERVICE_CAMERA;com.bbk.launcher2.permission.READ_SETTINGS;android.permission.REQUEST_INSTALL_PACKAGES;android.permission.ACCESS_MEDIA_LOCATION;com.android.vending.BILLING;com.android.vending.CHECK_LICENSE;com.tencent.mm.matrix.strategynotify;android.permission.ACCESS_NOTIFICATION_POLICY;com.tencent.mm.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION;com.tencent.mm.manual.dump;com.tencent.mm.backtrace.warmed_up;com.tencent.mm.matrix.permission.PROCESS_SUPERVISOR;com.tencent.mm.vfs.broadcast;com.oplus.permission.safe.FANTASYWINDOW;com.huawei.easygo.permission.READ_PERMISSION;com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE;com.google.android.c2dm.permission.RECEIVE;com.tencent.mm.permission.C2D_MESSAGE;com.soter.permission.ACCESS_SOTER_KEYSTORE;android.permission.USE_FACERECOGNITION", "support_hd": 0, "min_sdk_version": 23, "max_sdk_version": 0, "target_sdk_version": 30, "include_machine": "", "exclude_machine": "", "snapshot_timestamp": 1726820949, "snapshot_cnt": 5, "icon_timestamp": 1726820953, "apk_download_cnt": "0", "score_cnt5": "0", "score_cnt4": "0", "score_cnt3": "0", "score_cnt2": "0", "score_cnt1": "0", "apk_download_cnt_pc": "0", "apk_install_cnt": "0", "ad_flag_ks": 0, "security_ks": 0, "apk_download_cnt_mb": "0", "encode_url": "", "privacy": 0, "gray_version_code": 0, "channel_id": "", "channel_name": "", "cpuin": "0", "type": 0, "channel": "", "extend": "", "check_level": 0, "desc": "", "min_qlauncher_version_code": 0, "max_qlauncher_version_code": 0, "theme_version_code": 0, "snapshot480s": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/480" ], "snapshot180s": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/180" ], "uuid": "", "device_support_mark": 0, "logo256": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/256", "logo128": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/128", "download_week": "0", "sense": "", "minner_data": { "iconVer": "1", "picVer": "1", "supportIpv6": "1" }, "snapshot_orientation": 2, "publish_flag": 0, "flag": "4297064537", "platform": "1026", "sha256": "B73819E1D4F5A0A630FFDB34949F07757186BF847CF5BA70C30B9AACB49F24CB", "signatureSha256": "D64C4DFAF9299C5F4F2F01726CB63A4BC586B32B302267004988D8DF31F16135", "signatureSha256Molo": "0FE4FF85C215918396DADC7CD8CE6963339AF33D37751A56E54C7206B63A3C7C" }, "app_rating_info": { "rating_count": "586493", "average_rating": 3.5502878977242696, "rating_distribution": { "1": "129819", "2": "38544", "3": "64783", "4": "85772", "5": "267575" }, "average_rating7_day": 0 } } }, "app_detail_rows": "1" } ```

    Where:

    • app_detail_records - <package name> - apk_all_data - name is the application name,
    • app_detail_records - <package name> - apk_all_data - logo256 is the application icon,
    • app_detail_records - <package name> - apk_all_data - url is the application download URL,
    • app_detail_records - <package name> - apk_all_data - feature is the application changelog,
    • app_detail_records - <package name> - apk_all_data - version_name is the semantic version number of the application,
    • app_detail_records - <package name> - apk_all_data - version_code is the actual version number of the application.

Other

I feel that implementing this method could expand Obtainium's user base in mainland China. If the author is interested, they can consider this as a reference.

Simplified Chinese

[!note] 我发现了一个新的应用程序源,并通过一个 Issue 通知这个存储库。鉴于我的居住地区与 Obtainium 开发人员及其受众的地区之间存在显着差异,我无法完全确定 Obtainium 上此源的技术可用性和其他影响因素。因此,提出这个 Issue 并不意味着请求 Obtainium 作者在 Obtainium 中实现从这个来源获取应用程序。

[!important] 腾讯应用宝似乎只收录中国大陆工信部 ICP 备案应用,也似乎只对中国大陆用户提供服务。

由于我目前的环境,我无法确认我提供的方法是否可以在中国境外使用。请注意。

引言

腾讯应用宝有一个被腾讯应用(如腾讯 QQ、腾讯微信等)广泛使用的接口,https://upage.html5.qq.com/wechat-apkinfo

如何使用?

  1. 构造包含 Android 软件包名的 JSON 请求体。示例:
    {
      "packagename": "com.tencent.mm"
    }
  2. 发送 POST 请求到 https://upage.html5.qq.com/wechat-apkinfo,并设置请求头 Content-Type: application/json
  3. 得到响应,如:

    ```JSON { "ret": 0, "err_msg": "", "has_next": 0, "offset": "0", "record_key_type": 0, "app_detail_records": { "com.tencent.mm": { "app_info": { "app_id": "10910", "name": "微信", "english_name": "", "package_name": "com.tencent.mm", "author": "深圳市腾讯计算机系统有限公司", "cp_id": 4432035, "category_id": 106, "category_name": "社交", "check_level": 40, "cur_apk_id": "16760688", "desc": "你可以通过音视频通话、群聊、朋友圈来和朋友们分享生活,可以通过公众号、视频号获得文章、视频内容,以及通过小程序方便地使用生活服务,还可以开启「关怀模式」,文字与按钮更大更清晰。", "publish_time": 1386696615, "create_time": 1386696615, "update_time": 1726820955, "self_developed": 0, "is_tencent_app": 1, "icon_timestamp": 1414664210, "status": 0, "tag": "19001001;", "alias": "微信", "download_cnt_total": "8931479944", "score_cnt5_total": "267575", "score_cnt4_total": "85772", "score_cnt3_total": "64783", "score_cnt2_total": "38544", "score_cnt1_total": "129819", "download_cnt_pc_total": "0", "install_cnt_total": "0", "download_cnt_mbtotal": "0", "tag_new": "1;180000007;187;2;243;244;274;275;4;", "ieg_tag": 0, "keyword": "", "tag_name": "聊天;语音;即时通讯;社区;社交;社交网络;通信聊天;通讯;交友;", "parent_category_id": -1, "involve_privacy": 0, "download_week": "399351", "is_official": 0, "mini_video_url": "", "mini_video_orientation": "", "mini_video_snap_shot": "", "mini_video_src_id": 0, "mini_video_src_name": "", "mini_video_src_logo": "", "mini_video_src_url": "", "is_tencent_yun": 1, "minner_data": { "cloudGameUV": "0", "downloadCnt": "8931479944", "isOfficial": "0", "manualSecurityTags": "7", "openAppType": "1", "privacyAgreement": "https://cftweb.3g.qq.com/privacy/privacyPolicy?content_id=e4056cc597f6bf204014e31a1429a36e", "qualityScore": "96", "systemSecurityTags": "9" }, "editor_score": 0, "open_app_id": "100733732", "category_idnew": 19, "category_name_new": "社交", "suitable_age": 16, "user_assurance": 0, "privacy_agreement": "https://cftweb.3g.qq.com/privacy/privacyPolicy?content_id=e4056cc597f6bf204014e31a1429a36e", "privacy_agreement_type": "", "developer": "深圳市腾讯计算机系统有限公司", "editor_intro": "微信,是一个生活方式", "online_status": 1, "security_tags": [ { "id": "7", "name": "无风险" }, { "id": "9", "name": "腾讯公司软件" } ], "risk_level": 0, "app_channel_attr": 0, "open_game_type": 0, "icp_number": "粤B2-20090059-1621A", "icp_entity": "深圳市腾讯计算机系统有限公司" }, "apk_all_data": { "apk_id": "125336605", "app_id": "10910", "name": "微信", "alias": "", "package_name": "com.tencent.mm", "version_code": 2720, "size_byte": "275737845", "version_name": "8.0.51", "status": 0, "feature": "本次更新:\r\n优化了一些已知的问题。", "lang": 0, "logo_big": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/96", "logo_mid": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/72", "logo_small": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/48", "snapshot_bigs": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/0", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/0" ], "snapshot_mids": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/550", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/550" ], "snapshot_smalls": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/330", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/330" ], "vedio_url": "", "ad_flag": 0, "content_level": 0, "fee_policy": 0, "security": 1, "is_official": 0, "create_time": 1726820955, "publish_time": 1726820955, "update_time": 1726820955, "apk_md5": "5176EFFF435AC49446A10FA20E043457", "sha1": "2A5E2EFABBFF2146B0011E507F1B8A87468C8FCC", "signature_md5": "AAA953DC012B1C3C46AAFD140EC024D4", "signature_md5_molo": "18C867F0717AA67B2AB7347505BA07ED", "data_source": 0, "source_site": "tap", "url": "http://imtt.dd.qq.com/sjy.40002/sjy.00004/16891/apk/5176EFFF435AC49446A10FA20E043457.apk?fsname=com.tencent.mm_8.0.51.apk", "dpi": "", "min_resolution_x": 0, "min_resolution_y": 0, "permissions": "android.permission.INTERACT_ACROSS_USERS;android.bluetooth.permissions.SHORTCUT_ACTION;com.tencent.bluetooth.permissions.SHORTCUT_ACTION;android.permission.CHANGE_WIFI_MULTICAST_STATE;com.tencent.mm.plugin.permission.READ;com.tencent.mm.plugin.permission.WRITE;com.tencent.mm.permission.MM_MESSAGE;com.huawei.authentication.HW_ACCESS_AUTH_SERVICE;com.google.android.providers.gsf.permission.READ_GSERVICES;android.permission.CHANGE_NETWORK_STATE;android.permission.FOREGROUND_SERVICE_HEALTH;android.permission.FOREGROUND_SERVICE_LOCATION;android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION;android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK;android.permission.ACCESS_NETWORK_STATE;android.permission.ACCESS_COARSE_LOCATION;android.permission.ACCESS_FINE_LOCATION;android.permission.CAMERA;android.permission.GET_TASKS;android.permission.INTERNET;android.permission.MODIFY_AUDIO_SETTINGS;android.permission.RECEIVE_BOOT_COMPLETED;android.permission.RECORD_AUDIO;android.permission.READ_CONTACTS;android.permission.VIBRATE;android.permission.WAKE_LOCK;android.permission.WRITE_EXTERNAL_STORAGE;com.android.launcher.permission.INSTALL_SHORTCUT;com.android.launcher.permission.UNINSTALL_SHORTCUT;com.android.launcher.permission.READ_SETTINGS;com.tencent.mm.location.permission.SEND_VIEW;android.permission.BLUETOOTH;android.permission.BLUETOOTH_ADMIN;android.permission.BLUETOOTH_SCAN;android.permission.BLUETOOTH_ADVERTISE;android.permission.BLUETOOTH_CONNECT;android.permission.BROADCAST_STICKY;android.permission.SYSTEM_ALERT_WINDOW;android.permission.CHANGE_WIFI_STATE;android.permission.GET_PACKAGE_SIZE;android.permission.DOWNLOAD_WITHOUT_NOTIFICATION;android.permission.NFC;com.miui.easygo.permission.READ_PERMISSION;android.permission.POST_NOTIFICATIONS;com.huawei.android.launcher.permission.CHANGE_BADGE;android.permission.WRITE_APP_BADGE;cn.cyberidentity.certification.AUTH;com.meizu.flyme.launcher.permission.WRITE_BADGE_EXTRAS;android.permission.DETECT_SCREEN_CAPTURE;android.permission.FOREGROUND_SERVICE_DATA_SYNC;com.tencent.mm.ext.permission.READ;com.tencent.mm.ext.permission.WRITE;android.permission.ACTIVITY_RECOGNITION;com.tencent.mm.wear.message;android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS;android.permission.READ_EXTERNAL_STORAGE;miui.permission.READ_STEPS;android.permission.HIDE_OVERLAY_WINDOWS;android.permission.FOREGROUND_SERVICE;android.permission.ACCESS_WIFI_STATE;com.open.gallery.smart.Read;com.open.gallery.smart.Write;com.open.gallery.smart.Provider;android.permission.USE_FULL_SCREEN_INTENT;android.permission.USE_FINGERPRINT;android.permission.USE_BIOMETRIC;com.tencent.mm.WAID_PROVIDER_WRITE;android.permission.FOREGROUND_SERVICE_MICROPHONE;android.permission.FOREGROUND_SERVICE_CAMERA;com.bbk.launcher2.permission.READ_SETTINGS;android.permission.REQUEST_INSTALL_PACKAGES;android.permission.ACCESS_MEDIA_LOCATION;com.android.vending.BILLING;com.android.vending.CHECK_LICENSE;com.tencent.mm.matrix.strategynotify;android.permission.ACCESS_NOTIFICATION_POLICY;com.tencent.mm.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION;com.tencent.mm.manual.dump;com.tencent.mm.backtrace.warmed_up;com.tencent.mm.matrix.permission.PROCESS_SUPERVISOR;com.tencent.mm.vfs.broadcast;com.oplus.permission.safe.FANTASYWINDOW;com.huawei.easygo.permission.READ_PERMISSION;com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE;com.google.android.c2dm.permission.RECEIVE;com.tencent.mm.permission.C2D_MESSAGE;com.soter.permission.ACCESS_SOTER_KEYSTORE;android.permission.USE_FACERECOGNITION", "support_hd": 0, "min_sdk_version": 23, "max_sdk_version": 0, "target_sdk_version": 30, "include_machine": "", "exclude_machine": "", "snapshot_timestamp": 1726820949, "snapshot_cnt": 5, "icon_timestamp": 1726820953, "apk_download_cnt": "0", "score_cnt5": "0", "score_cnt4": "0", "score_cnt3": "0", "score_cnt2": "0", "score_cnt1": "0", "apk_download_cnt_pc": "0", "apk_install_cnt": "0", "ad_flag_ks": 0, "security_ks": 0, "apk_download_cnt_mb": "0", "encode_url": "", "privacy": 0, "gray_version_code": 0, "channel_id": "", "channel_name": "", "cpuin": "0", "type": 0, "channel": "", "extend": "", "check_level": 0, "desc": "", "min_qlauncher_version_code": 0, "max_qlauncher_version_code": 0, "theme_version_code": 0, "snapshot480s": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/480", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/480" ], "snapshot180s": [ "http://pp.myapp.com/ma_pic2/0/shot_10910_1_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_2_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_3_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_4_1726820949/180", "http://pp.myapp.com/ma_pic2/0/shot_10910_5_1726820949/180" ], "uuid": "", "device_support_mark": 0, "logo256": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/256", "logo128": "http://pp.myapp.com/ma_icon/0/icon_10910_1726820953/128", "download_week": "0", "sense": "", "minner_data": { "iconVer": "1", "picVer": "1", "supportIpv6": "1" }, "snapshot_orientation": 2, "publish_flag": 0, "flag": "4297064537", "platform": "1026", "sha256": "B73819E1D4F5A0A630FFDB34949F07757186BF847CF5BA70C30B9AACB49F24CB", "signatureSha256": "D64C4DFAF9299C5F4F2F01726CB63A4BC586B32B302267004988D8DF31F16135", "signatureSha256Molo": "0FE4FF85C215918396DADC7CD8CE6963339AF33D37751A56E54C7206B63A3C7C" }, "app_rating_info": { "rating_count": "586493", "average_rating": 3.5502878977242696, "rating_distribution": { "1": "129819", "2": "38544", "3": "64783", "4": "85772", "5": "267575" }, "average_rating7_day": 0 } } }, "app_detail_rows": "1" } ```

    其中:

    • app_detail_records - <包名> - apk_all_data - name 是应用名称,
    • app_detail_records - <包名> - apk_all_data - logo256 是应用图标,
    • app_detail_records - <包名> - apk_all_data - url 是应用下载地址,
    • app_detail_records - <包名> - apk_all_data - feature 是应用更新日志,
    • app_detail_records - <包名> - apk_all_data - version_name 是应用的语义版本号,
    • app_detail_records - <包名> - apk_all_data - version_code是应用的真实版本号。

其它

我感觉实现此方法可以扩展 Obtainium 的中国大陆用户群。如果作者感兴趣,可以考虑作为参考。

ImranR98 commented 3 weeks ago

https://github.com/ImranR98/Obtainium/releases/tag/v1.1.22

ArcticFoxPro commented 3 weeks ago

Amazing speed! Thank you very much!