-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
# 移动魔百盒直播源转m3u8播放列表 | ||
# 移动魔百盒直播源生成m3u8播放列表 | ||
|
||
## 使用方法 | ||
|
||
### 1. 获取频道列表接口地址和基础URL | ||
|
||
参照 [@zhantong](https://github.com/zhantong) 的文章 [苏州移动IPTV抓包](https://www.polarxiong.com/archives/苏州移动IPTV抓包.html) | ||
|
||
### 2. 修改 `main.go` 中的 `CHANNEL_API_URL` 和 `BASE_URL` | ||
|
||
### 3. 编译运行 | ||
|
||
`go build` | ||
|
||
`./ottcn2m3u8` | ||
|
||
会在当前目录下生成 channel.m3u8 | ||
参照 [@zhantong](https://github.com/zhantong) 的文章 [苏州移动IPTV抓包](https://www.polarxiong.com/archives/苏州移动IPTV抓包.html) 获取频道列表接口地址和基础URL | ||
|
||
Usage of ottcn2m3u8: | ||
-api string | ||
API URL to fetch channel list. (default "http://looktvepg.jsa.bcs.ottcn.com:8080/ysten-lvoms-epg/epg/getChannelIndexs.shtml?deviceGroupId=1697") | ||
-base string | ||
Base URL for stream. (default "http://183.207.248.71:80/cntv/live1") | ||
-h This help. | ||
-o string | ||
Output file path. (default "channel.m3u8") | ||
-v Verbose mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters