xifangczy / cat-catch

猫抓 浏览器资源嗅探扩展 / cat-catch Browser Resource Sniffing Extension
GNU General Public License v3.0
9.8k stars 897 forks source link

openai中的视频能识别到片段,但是识别不到list列表 #446

Open aymanajal opened 3 months ago

aymanajal commented 3 months ago
image

list信息也能找到

{ "clip_id": "4f4df261-4cc4-4e84-b3b2-a2e7dd0e1bee", "base_url": "../../../range/avf/", "video": [ { "id": "5b35cccb-b474-4d82-a659-006f80cdd85c", "avg_id": "4f4df261", "base_url": "", "format": "dash", "mime_type": "video/mp4", "codecs": "avc1.64001E", "bitrate": 362000, "avg_bitrate": 120000, "duration": 2553.56, "framerate": 25, "width": 640, "height": 360, "max_segment_duration": 6, "init_segment": "AAAAIGZ0eXBkYXNoAAAAAGRhc2htcDQyaXNvNmF2YzEAAAMFbW9vdgAAAGxtdmhkAAAAAOLa/0Pi2v9DAAAAGQAAAAAAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAlV0cmFrAAAAXHRraGQAAAAH4tr/Q+La/0MAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAoAAAAFoAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAAAAAAAAwABAAAAAAHNbWRpYQAAACBtZGhkAAAAAOLa/0Pi2v9DAAAAGQAAAABVxAAAAAAAO2hkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaW1lbyBJc29wb2QgVmlkZW8gSGFuZGxlcgAAAAFqbWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABKnN0YmwAAACyc3RzZAAAAAAAAAABAAAAomF2YzEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAACgAFoAEgAAABIAAAAAAAAAAEKQVZDIENvZGluZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAAA5YXZjQwFkAB7/4QAdZ2QAHqzZgKAv+WagwMDIAAADAAgAAAMBkHixbNABAAVo6Xssi/34+AAAAAATY29scm5jbHgABgAGAAYAAAAAEHN0dHMAAAAAAAAAAAAAABBzdHNjAAAAAAAAAAAAAAAUc3RzegAAAAAAAAAAAAAAAAAAABBzdGNvAAAAAAAAAAAAAAAYc2dwZAEAAAByb2xsAAAAAgAAAAAAAAAUc2JncAAAAAByb2xsAAAAAAAAADxtdmV4AAAAFG1laGQBAAAAAAAAAAAA+V8AAAAgdHJleAAAAAAAAAABAAAAAQAAAAEAAAAAAAEAAA==", "index_segment": "5b35cccb-b474-4d82-a659-006f80cdd85c.mp4?pathsig=8c953e4f~9vNGn9m34r6O6XaDBvlTYKUwN-3YEMDhVf7a-N1NWJM\u0026r=dXMtY2VudHJhbDE%3D\u0026range=805-5948", "segments": [ { "start": 0, "end": 6.08, "url": "5b35cccb-b474-4d82-a659-006f80cdd85c.mp4?pathsig=8c953e4f~9vNGn9m34r6O6XaDBvlTYKUwN-3YEMDhVf7a-N1NWJM\u0026r=dXMtY2VudHJhbDE%3D\u0026range=5949-44375", "size": 38426 }, { "start": 6.08, "end": 12.16, "url": "5b35cccb-b474-4d82-a659-006f80cdd85c.mp4?pathsig=8c953e4f~9vNGn9m34r6O6XaDBvlTYKUwN-3YEMDhVf7a-N1NWJM\u0026r=dXMtY2VudHJhbDE%3D\u0026range=44376-87051", "size": 42675 }, 视频链接:https://openai.com/business/enabling-a-data-driven-workforce-webinar/ 麻烦大神帮忙指点下

xifangczy commented 3 months ago

这是 vimeo 的视频。他的list文件是自有格式。不是通用的 dash 或者 m3u8

其实只要把视频连接去掉range就行了。。

设置 正则匹配 (^https://.*\.vimeocdn\.com\/exp=.*)&range=.* 后缀写 mp4 就能得到完整的 音频和视频 使用猫抓合并 或者自己下载到本地合并就行