Files
MemRelay/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/Checkpoint 2026-09-24 23-13-52 UTC [4093ff9de9].md
T
memrelay 23a84f02b2 create: Checkpoint 2026-09-24 23:13:52 UTC [4093ff9de9]
MemRelay-Operation: checkpoint-save:ckpt-batch-scrape-20260925
MemRelay-Resource: 9cfe6b3f-e931-44ab-b856-c74d799c486c
2026-09-25 07:13:55 +08:00

30 lines
1.7 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: Checkpoint 2026-09-24 23:13:52 UTC [4093ff9de9]
type: checkpoint
permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/checkpoint-2026-09-24-23-13-52-utc-4093ff9de9
stable_id: 9cfe6b3f-e931-44ab-b856-c74d799c486c
scope: project
memory_type: checkpoint
project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-batch-scrape-20260925
created_at: '2026-09-24T23:13:52.901714+00:00'
updated_at: '2026-09-24T23:13:52.901714+00:00'
tags:
- scraper
- handover
---
完成:批量脚本 e:\code\RapDrama\rapt_scraper.py 已按 App 真实请求拿到 Passion 全量目录和免费集 CDN。输出 raptdrama_passion_full.json:37 部、1607 集、118 个免费集都有主 m3u8、1080p 子列表和 ts,1489 个锁定集 src 为空。
原因:之前用 Authorization Bearer 和 form 调 app.raptdrama.com,服务端回 299。进程内存里的真实请求是 apis.raptdrama.com,头 apasstk,JSON body。playlistv2 的 vid 是剧 id,带 page/before 分页。分类接口参数是 type=20。
验证:python -u rapt_scraper.py 退出码 0。统计:免费集缺地址 0,锁定集带地址 0。抽样 Flame of Revenge EP.1 为 playlist.m3u8 → 1080p/video.m3u8 → video0.ts 起 26 个分片。
问题:中途会遇到 RemoteDisconnected,已加 6 次重试并每部写盘。签名 URL 会过期。锁定集服务端不返回 src。
下一步:要刷新目录就再跑 python -u rapt_scraper.py。模拟器里账号需保持登录,否则设 RAPTD_TOKEN。
给下个会话:不要再用 Bearer/form/app.raptdrama.com 调 playlistv2。不要把 token、CDN 签名、邮箱写进记忆。禁止 mitmproxy transparent 和 reFlutter。不要提醒用户时间。