【求助】欲航旅团数据包获取

游戏3.6关服,内置CG需要获取后才能解锁下载,请问有大佬能弄到下载资源列表吗
链接: 百度网盘 请输入提取码 提取码: uait

听起来像是寻星旅团

实际上是 EroLab的碧藍旅團


但是暴毙了
这游戏在Fanza上还处于事前登录阶段算是胎死腹中死厕所里了


def blltdownload(overwrite):
    config_url = "https://game2.ckqyqy.com/P2/H/EROLABS/STAGE/RemoteSetting/Android/RemoteConfigJsonData.bytes"
    print(f"正在下载远程配置: {config_url}")
    resp = requests.get(config_url)
    resp.raise_for_status()
    cfg = resp.json()

    review_cdn = cfg.get("CDNURL")
    LastestVersion = cfg.get("LastestVersion")
    if not review_cdn:
        print("未找到 CDNURL")
        return

    print(f"使用的 CDNURL: {review_cdn}")
    version = None
    newWin = Tk()
    newWin.withdraw()
    confirm = messagebox.askyesno("模式选择", f"是否提供APK包路径尝试自动解析否则需手动配置相关文件", parent=newWin)
    newWin.destroy()
    if confirm:
        newWin = Tk()
        newWin.withdraw()
        apkpath = simpledialog.askstring("输入参数", f"请输入APK路径", parent=newWin).strip().replace('"','')
        newWin.destroy()
        if not os.path.exists(apkpath):
            print("文件不存在,请检查路径。")
            return

        target_dir = os.path.join("resdownload", "碧蓝旅团")
        os.makedirs(target_dir, exist_ok=True)

        files_to_extract = ["assets/aa/settings.json"]
        print("正在解压 settings.json ...")

        try:
            with zipfile.ZipFile(apkpath, 'r') as apk:
                for file in files_to_extract:
                    if file in apk.namelist():
                        apk.extract(file, target_dir)
                        print(f"已提取: {file}")
                    else:
                        print(f"未找到: {file}")
        except Exception as e:
            print(f"解压错误: {e}")
            return
        settinggp = os.path.join(target_dir, "assets", "aa", "settings.json")
        if not os.path.exists(settinggp):
            print("未找到 settings.json")
            return

        with open(settinggp, "r", encoding="utf-8") as f:
            data = json.load(f)

        for catalog in data.get("m_CatalogLocations", []):
            internal_id = catalog.get("m_InternalId", "")
            match = re.search(r"catalog_([\d\.]+)\.hash", internal_id)
            if match:
                version = match.group(1)
                break
    else:
        newWin = Tk()
        newWin.withdraw()
        version = simpledialog.askstring("输入参数", f"请输入版本号(例如2025.10.28.03.45.27)", parent=newWin).strip()
        newWin.destroy()
        if not version:
            print("版本号不能为空")
            return



    if not version:
        print("配置提取失败")
        return

    print(f"版本号: {version}")

    catalog_url = f"{review_cdn}{LastestVersion}/Android/catalog_{version}.json"
    print(f"Catalog 地址: {catalog_url}")

    resp = requests.get(catalog_url)
    if resp.status_code != 200:
        print(f"无法获取清单: {catalog_url}")
        return

    catalog_data = resp.json()

    internal_ids = catalog_data.get("m_InternalIds", [])
    output_lines = []

    for url in internal_ids:
        if url.startswith("{BuiltIn.Managers.ResourceManager.RemoteLoadURL}"):
            real_url = url.replace("{BuiltIn.Managers.ResourceManager.RemoteLoadURL}", f"{review_cdn}{LastestVersion}")
            filename = os.path.basename(real_url)
            if not os.path.exists(os.path.join(r'resdownload/碧蓝旅团', filename)) or overwrite:
                output_lines.append(f"{real_url}\n   out={filename}")

    with open("bllt.txt", "w", encoding="utf-8") as f:
        f.write("\n".join(output_lines))
    print(f"已输出 {len(output_lines)} 条资源到 bllt.txt")
    os.system(
        f"aria2c -i bllt.txt -j 32 -s 16 -x 16 --auto-file-renaming=false {f'{proxyaddr} ' if useproxy else ''}{'--allow-overwrite=true ' if overwrite else ''}--check-certificate=false --dir=resdownload/碧蓝旅团")


H365的清单文件URL对应代码中的config_url(代码是EroLab的)

https://game2.ckqyqy.com/P2/H/H365/STAGE/RemoteSetting/Android/RemoteConfigJsonData.bytes

版本号应该是 2025.11.21.02.32.50

https://game2.ckqyqy.com/P2/H/H365/STAGE/0.0.4006/Android/catalog_2025.11.21.02.32.50.json