# m3u8_ts **Repository Path**: lmoflife/m3u8_ts ## Basic Information - **Project Name**: m3u8_ts - **Description**: java 解析 m3u8 的文件内容,获取key及分段ts文件信息,解密并合并ts文件。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2022-05-28 - **Last Updated**: 2024-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, m3u8 ## README # m3u8_ts #### 介绍 因为老婆在教育网站上购买的网课不能下载,只能登录网站在线播放,并且是限期的,于是。。。 使用 org.apache.httpcomponents.httpclient 用账号密码模拟登录 获取课程列表信息 根据课程信息获取m3u8地址 解析m3u8文件 获得key地址和ts链接集合 获得key内容 并Base64.decode(key) 得到解密key 和偏移量(IV) 依次下载ts文件并解密 合并ts