diff --git a/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 可合成新设备访客凭据.md b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 可合成新设备访客凭据.md new file mode 100644 index 0000000..089a261 --- /dev/null +++ b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 可合成新设备访客凭据.md @@ -0,0 +1,27 @@ +--- +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,不让目录挂掉。令牌、设备号不要写进记忆或提交。 \ No newline at end of file diff --git a/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 已绑定设备不能另造访客凭据.md b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 已绑定设备不能另造访客凭据.md deleted file mode 100644 index b2a762f..0000000 --- a/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/DramaBox 已绑定设备不能另造访客凭据.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -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: 1 -request_id: exp-dramabox-guest-bootstrap-bound-20261024 -created_at: '2026-10-23T17:58:37.072469+00:00' -updated_at: '2026-10-23T17:58:37.072469+00:00' -tags: -- dramabox -- auth ---- - -DramaBox 初次打开走 ap001/bootstrap,请求体是 distinctId 和 installTime。已经绑定登录的设备即使不带令牌调用,返回的仍是当前账号,不会另发一套访客身份。自行生成的 device-id 和 android-id 会被接口以参数非法拒绝。因此不能在同一台已登录设备上造出非当前账号的凭据。封面下载本来就不带账号令牌。清单、分集和正片地址目前仍用从设备读到的那一套身份。 \ No newline at end of file