forked from TCatCloud/IPTV
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 7cecc94
Showing
19 changed files
with
90,592 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Update | ||
|
||
on: | ||
schedule: | ||
# 每小时运行一次 | ||
- cron: 0,59 * * * * | ||
|
||
env: | ||
TZ: Asia/Shanghai | ||
|
||
jobs: | ||
Update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: GetTime | ||
id: date | ||
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S CST')" | ||
|
||
- name: Update | ||
run: | | ||
# 央视源 | ||
rm -f CCTV.m3u && wget https://raw.githubusercontent.com/fanmingming/live/main/tv/m3u/ipv6.m3u -O CCTV.m3u | ||
sed -i -n '/央视/,+1p' CCTV.m3u | ||
sed -i '1i #EXTM3U' CCTV.m3u | ||
sed -i '/^\s*$/d' CCTV.m3u | ||
# 卫视源 | ||
rm -f CNTV.m3u && wget https://raw.githubusercontent.com/fanmingming/live/main/tv/m3u/ipv6.m3u -O CNTV.m3u | ||
sed -i '/央视/,+1d' CNTV.m3u | ||
sed -i '/^\s*$/d' CNTV.m3u | ||
# 整合源 | ||
rm -f IPTV.m3u && touch IPTV.m3u | ||
cat CCTV.m3u >> IPTV.m3u | ||
cat CNTV.m3u >> IPTV.m3u | ||
sed -i '/#EXTM3U/d' IPTV.m3u | ||
sed -i '1i #EXTM3U' IPTV.m3u | ||
sed -i '/^\s*$/d' IPTV.m3u | ||
# 节目源 | ||
rm -f EPG.xml && wget https://epg.112114.xyz/pp.xml -O EPG.xml | ||
echo "Auto Update IPTV in ${{ steps.date.outputs.date }}" > README.md | ||
- name: Clean | ||
run: | | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git checkout --orphan latest_branch | ||
git add -A | ||
git commit -am "${{ steps.date.outputs.date }}" | ||
git branch -D main | ||
git branch -m main | ||
- name: Push | ||
run: git push -f origin main |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: testtvbox | ||
on: | ||
schedule: | ||
# 每天的09:50执行 | ||
- cron: '50 09 * * *' | ||
env: | ||
TZ: Asia/Shanghai | ||
jobs: | ||
Update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Download IPTV List | ||
run: | | ||
# 下载IPTV列表 | ||
rm -f IPTV-tvbox.txt && curl -o IPTV-tvbox.txt https://fanmingming.com/txt?url=https://live.fanmingming.com/tv/m3u/ipv6.m3u | ||
sed -i '/#EXTM3U/d; /^\s*$/d' IPTV-tvbox.txt | ||
- name: Prepare Commit Message | ||
id: prepare_commit | ||
run: echo "DATE=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV | ||
|
||
- name: Clean and Prepare Git | ||
run: | | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git add -A | ||
git commit -am "Update IPTV list at ${DATE}" | ||
- name: Push Changes | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
run: | | ||
if [[ $(git status --porcelain) ]]; then | ||
git push origin main | ||
fi |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#EXTM3U | ||
#EXTINF:-1 tvg-name="CCTV1" tvg-logo="https://live.fanmingming.com/tv/CCTV1.png" group-title="央视频道",CCTV-1 综合 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000001/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV2" tvg-logo="https://live.fanmingming.com/tv/CCTV2.png" group-title="央视频道",CCTV-2 财经 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000502/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV3" tvg-logo="https://live.fanmingming.com/tv/CCTV3.png" group-title="央视频道",CCTV-3 综艺 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000003/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV4" tvg-logo="https://live.fanmingming.com/tv/CCTV4.png" group-title="央视频道",CCTV-4 中文国际 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000503/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV5" tvg-logo="https://live.fanmingming.com/tv/CCTV5.png" group-title="央视频道",CCTV-5 体育 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000005/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV5+" tvg-logo="https://live.fanmingming.com/tv/CCTV5+.png" group-title="央视频道",CCTV-5+ 体育赛事 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000507/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV6" tvg-logo="https://live.fanmingming.com/tv/CCTV6.png" group-title="央视频道",CCTV-6 电影 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000006/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV7" tvg-logo="https://live.fanmingming.com/tv/CCTV7.png" group-title="央视频道",CCTV-7 国防军事 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000504/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV8" tvg-logo="https://live.fanmingming.com/tv/CCTV8.png" group-title="央视频道",CCTV-8 电视剧 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000008/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV9" tvg-logo="https://live.fanmingming.com/tv/CCTV9.png" group-title="央视频道",CCTV-9 纪录 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000505/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV10" tvg-logo="https://live.fanmingming.com/tv/CCTV10.png" group-title="央视频道",CCTV-10 科教 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000506/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV11" tvg-logo="https://live.fanmingming.com/tv/CCTV11.png" group-title="央视频道",CCTV-11 戏曲 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000508/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV12" tvg-logo="https://live.fanmingming.com/tv/CCTV12.png" group-title="央视频道",CCTV-12 社会与法 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000509/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV13" tvg-logo="https://live.fanmingming.com/tv/CCTV13.png" group-title="央视频道",CCTV-13 新闻 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000510/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV14" tvg-logo="https://live.fanmingming.com/tv/CCTV14.png" group-title="央视频道",CCTV-14 少儿 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000511/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV15" tvg-logo="https://live.fanmingming.com/tv/CCTV15.png" group-title="央视频道",CCTV-15 音乐 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000512/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV16" tvg-logo="https://live.fanmingming.com/tv/CCTV16.png" group-title="央视频道",CCTV-16 奥林匹克 | ||
http://[2409:8087:74d9:21::6]:80/270000001128/9900000016/index.m3u8 | ||
#EXTINF:-1 tvg-name="CCTV17" tvg-logo="https://live.fanmingming.com/tv/CCTV17.png" group-title="央视频道",CCTV-17 农业农村 | ||
http://[2409:8087:74d9:21::9]:80/270000001128/9900000513/index.m3u8 | ||
#EXTINF:-1 tvg-name="CGTN" tvg-logo="https://live.fanmingming.com/tv/CGTN.png" group-title="央视频道",CGTN英语 | ||
https://0472.org/hls/cgtn.m3u8 | ||
#EXTINF:-1 tvg-name="CGTN纪录" tvg-logo="https://live.fanmingming.com/tv/CGTN纪录.png" group-title="央视频道",CGTN记录 | ||
https://0472.org/hls/cgtnd.m3u8 | ||
#EXTINF:-1 tvg-name="CGTN俄语" tvg-logo="https://live.fanmingming.com/tv/CGTN俄语.png" group-title="央视频道",CGTN俄语 | ||
https://0472.org/hls/cgtne.m3u8 | ||
#EXTINF:-1 tvg-name="CGTN法语" tvg-logo="https://live.fanmingming.com/tv/CGTN法语.png" group-title="央视频道",CGTN法语 | ||
https://0472.org/hls/cgtnf.m3u8 | ||
#EXTINF:-1 tvg-name="CGTN西语" tvg-logo="https://live.fanmingming.com/tv/CGTN西语.png" group-title="央视频道",CGTN西语 | ||
https://0472.org/hls/cgtnx.m3u8 | ||
#EXTINF:-1 tvg-name="CGTN阿语" tvg-logo="https://live.fanmingming.com/tv/CGTN阿语.png" group-title="央视频道",CGTN阿语 | ||
https://0472.org/hls/cgtna.m3u8 |
Oops, something went wrong.