Files
MemRelay/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 可合成新设备访客凭据.md
T
memrelay d301570ae6 update: DramaBox 可合成新设备访客凭据
MemRelay-Operation: memory-save:rapdrama-dbx-guest-mint-20261024-01
MemRelay-Resource: 7a93da18-9d3f-4e65-bbac-43af5e7d3134
2026-10-24 02:15:12 +08:00

27 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: DramaBox 可合成新设备访客凭据
type: experience
permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/drama-box-可合成新设备访客凭据
stable_id: 7a93da18-9d3f-4e65-bbac-43af5e7d3134
scope: project
memory_type: experience
project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 2
request_id: rapdrama-dbx-guest-mint-20261024-01
created_at: '2026-10-23T17:58:37.072469+00:00'
updated_at: '2026-10-23T18:15:08.381324+00:00'
tags:
- dramabox
- auth
- guest
---
DramaBox 可以自己生成一套新设备参数,走 App 初次打开的 ap001/bootstrap 拿到非当前账号、非 VIP 的访客凭据。
设备身份怎么造:device-id 是 GAID 格式(带连字符的 UUID);android-id 不是 16 位 ANDROID_ID,而是 AbstractC1647e.d() 那种去掉连字符的 32 位十六进制(Settings.Secure.ANDROID_ID 算 Java UUID 后再去横线,模拟器假 ID 则直接 UUID.randomUUID 去横线)。installTime 是毫秒时间戳字符串,distinctId 用神策匿名 ID 那种 UUID。新安装的 cid/nchid 默认 CODE00001。硬件头(brand、model、locale、分辨率等)可以复用当前已导入设备,避免和真机差太远。
不要用已绑定设备的那对 device-id/android-id 去调 bootstrap:不带令牌也会回到当前账号。必须换新的一对 ID。封面下载本来就不带账号令牌。
清单、搜索、免费分集窗口用 session.json 的 guest;VIP 分集下载地址和收费播放仍用从设备读到的 app。失败时回退到 app,不让目录挂掉。令牌、设备号不要写进记忆或提交。