--- title: DramaBox 抓取播放地址的坑 type: experience permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/drama-box-抓取播放地址的坑 stable_id: bbd8e142-daf9-4a9a-bc12-7cc4aac473f3 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: mem-dramabox-exp-20261021-01 created_at: '2026-10-21T15:36:30.441498+00:00' updated_at: '2026-10-21T15:36:30.441498+00:00' tags: - dramabox - cdn --- DramaBox 拉播放列表时不要用 urllib,用项目里的 httpx(server.services.http)并带上 Referer/Origin。官网影片页一次就能拿到全部 chapterList,不必像黄豆那样逐集 play。webfic POST /webfic/book/detail 只要 bookId 字段,id 字段会报 bookId must not be blank;GET /webfic/book/detail/v2 当前经常空数据,不要当主路径。未解锁集 unlock=false 且没有 mp4/m3u8,保留锁定原因即可。