Last active 1 month ago

imyip's Avatar imyip revised this gist 4 months ago. Go to revision

1 file changed, 7 insertions, 7 deletions

live.json

@@ -3,22 +3,22 @@
3 3 "lives": [
4 4 {
5 5 "name": "内地电视频道",
6 + "type": 3,
7 + "api": "https://raw.githubusercontent.com/n3rddd/N3RD/6b0282f56d6cf963958a8ca5210adcd07de4bfbf/JN/PY/live/live_kzb.py",
8 + "ext": "68747470733a2f2f6a7a62356b716c6e2e6875616a69616564752e636f6d2f70726f642d6170692f697074762f676574497074764c697374"
9 + },
10 + {
11 + "name": "内地电视频道(备用1)",
6 12 "url": "http://192.168.2.239:35455/tv.m3u",
7 13 "type": 0,
8 14 "playerType": 1
9 15 },
10 16 {
11 - "name": "内地电视频道(备用1)",
17 + "name": "内地电视频道(备用2)",
12 18 "url": "http://192.168.10.239:35455/tv.m3u",
13 19 "type": 0,
14 20 "playerType": 1
15 21 },
16 - {
17 - "name": "内地电视频道(备用2)",
18 - "type": 3,
19 - "api": "https://raw.githubusercontent.com/n3rddd/N3RD/6b0282f56d6cf963958a8ca5210adcd07de4bfbf/JN/PY/live/live_kzb.py",
20 - "ext": "68747470733a2f2f6a7a62356b716c6e2e6875616a69616564752e636f6d2f70726f642d6170692f697074762f676574497074764c697374"
21 - },
22 22 {
23 23 "name": "香港TVB",
24 24 "url": "https://raw.githubusercontent.com/tongxunlu/super/refs/heads/main/mytvsuper.m3u",

imyip's Avatar imyip revised this gist 4 months ago. Go to revision

1 file changed, 1 insertion, 1 deletion

live.json

@@ -16,7 +16,7 @@
16 16 {
17 17 "name": "内地电视频道(备用2)",
18 18 "type": 3,
19 - "api": "https://raw.githubusercontent.com/n3rddd/N3RD/6b0282f56d6cf963958a8ca5210adcd07de4bfbf/JN/PY/live/live_kzb.pyy",
19 + "api": "https://raw.githubusercontent.com/n3rddd/N3RD/6b0282f56d6cf963958a8ca5210adcd07de4bfbf/JN/PY/live/live_kzb.py",
20 20 "ext": "68747470733a2f2f6a7a62356b716c6e2e6875616a69616564752e636f6d2f70726f642d6170692f697074762f676574497074764c697374"
21 21 },
22 22 {

imyip's Avatar imyip revised this gist 4 months ago. Go to revision

1 file changed, 7 insertions, 1 deletion

live.json

@@ -3,12 +3,18 @@
3 3 "lives": [
4 4 {
5 5 "name": "内地电视频道",
6 + "url": "http://192.168.2.239:35455/tv.m3u",
7 + "type": 0,
8 + "playerType": 1
9 + },
10 + {
11 + "name": "内地电视频道(备用1)",
6 12 "url": "http://192.168.10.239:35455/tv.m3u",
7 13 "type": 0,
8 14 "playerType": 1
9 15 },
10 16 {
11 - "name": "内地电视频道(备用1)",
17 + "name": "内地电视频道(备用2)",
12 18 "type": 3,
13 19 "api": "https://raw.githubusercontent.com/n3rddd/N3RD/6b0282f56d6cf963958a8ca5210adcd07de4bfbf/JN/PY/live/live_kzb.pyy",
14 20 "ext": "68747470733a2f2f6a7a62356b716c6e2e6875616a69616564752e636f6d2f70726f642d6170692f697074762f676574497074764c697374"

imyip's Avatar imyip revised this gist 4 months ago. Go to revision

1 file changed, 1 insertion, 7 deletions

live.json

@@ -3,18 +3,12 @@
3 3 "lives": [
4 4 {
5 5 "name": "内地电视频道",
6 - "url": "http://192.168.2.239:35455/tv.m3u",
7 - "type": 0,
8 - "playerType": 1
9 - },
10 - {
11 - "name": "内地电视频道(备用1)",
12 6 "url": "http://192.168.10.239:35455/tv.m3u",
13 7 "type": 0,
14 8 "playerType": 1
15 9 },
16 10 {
17 - "name": "内地电视频道(备用2)",
11 + "name": "内地电视频道(备用1)",
18 12 "type": 3,
19 13 "api": "https://raw.githubusercontent.com/n3rddd/N3RD/6b0282f56d6cf963958a8ca5210adcd07de4bfbf/JN/PY/live/live_kzb.pyy",
20 14 "ext": "68747470733a2f2f6a7a62356b716c6e2e6875616a69616564752e636f6d2f70726f642d6170692f697074762f676574497074764c697374"

imyip's Avatar imyip revised this gist 5 months ago. Go to revision

2 files changed, 77 insertions

live.json

@@ -37,6 +37,12 @@
37 37 "type": 0,
38 38 "playerType": 1
39 39 },
40 + {
41 + "name": "TVFIX",
42 + "type": 3,
43 + "api": "https://gist.imyip.net/imyip/fedc4aa0b3bd4d5eb9d39637a2929f25/raw/HEAD/live_tvfix.py",
44 + "ext": {}
45 + },
40 46 {
41 47 "name": "台湾频道",
42 48 "api": "csp_MQiTV",

live_tvfix.py(file created)

@@ -0,0 +1,71 @@
1 + # -*- coding: utf-8 -*-
2 + # @Author : Doubebly
3 + # @Time : 2025/3/23 21:55
4 + # import base64
5 + import sys
6 + import time
7 + import json
8 + import requests
9 + sys.path.append('..')
10 + from base.spider import Spider
11 +
12 +
13 + class Spider(Spider):
14 + def getName(self):
15 + return "Tvfix"
16 +
17 + def init(self, extend):
18 + pass
19 +
20 + def getDependence(self):
21 + return []
22 +
23 + def isVideoFormat(self, url):
24 + pass
25 +
26 + def manualVideoCheck(self):
27 + pass
28 +
29 +
30 + def liveContent(self, url):
31 + url = 'https://iptv.tvfix.org/channels.json'
32 + headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36'}
33 + response = requests.get(url, headers=headers)
34 + tv_list = json.loads(response.content)
35 + d = ['#EXTM3U']
36 + for i in tv_list['Categories']:
37 + for ii in i['Channels']:
38 + d.append(f"#EXTINF:-1 tvg-id=\"{ii['Vid']}\" tvg-name=\"{ii['Name']}\" group-title=\"{i['Name']}\",{ii['Name']}")
39 + d.append(f'https://live.tvfix.org/live/{i["Vid"]}/index.m3u8')
40 + return '\n'.join(d)
41 +
42 + def homeContent(self, filter):
43 + return {}
44 +
45 + def homeVideoContent(self):
46 + return {}
47 +
48 + def categoryContent(self, cid, page, filter, ext):
49 + return {}
50 +
51 + def detailContent(self, did):
52 + return {}
53 +
54 + def searchContent(self, key, quick, page='1'):
55 + return {}
56 +
57 + def searchContentPage(self, keywords, quick, page):
58 + return {}
59 +
60 + def playerContent(self, flag, pid, vipFlags):
61 + return {}
62 +
63 + def localProxy(self, params):
64 + return [302, "text/plain", None, {'Location': 'https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/mp4/xgplayer-demo-720p.mp4'}]
65 +
66 +
67 + def destroy(self):
68 + return '正在Destroy'
69 +
70 + if __name__ == '__main__':
71 + pass

imyip's Avatar imyip revised this gist 5 months ago. Go to revision

1 file changed, 1 insertion, 1 deletion

live.json

@@ -73,7 +73,7 @@
73 73 {
74 74 "name": "BeeSport直播",
75 75 "type": 3,
76 - "api": "https://gist.imyip.net/imyip/fedc4aa0b3bd4d5eb9d39637a2929f25/raw/HEAD/live_beesport.pyy",
76 + "api": "https://gist.imyip.net/imyip/fedc4aa0b3bd4d5eb9d39637a2929f25/raw/HEAD/live_beesport.py",
77 77 "ext": {},
78 78 "header": {
79 79 "Referer": "https://p.m82xg4z0cdbz7.com/"

imyip's Avatar imyip revised this gist 5 months ago. Go to revision

1 file changed, 9 insertions, 2 deletions

live.json

@@ -50,14 +50,21 @@
50 50 "logo": "https://epg.112114.xyz/logo/{name}.png"
51 51 },
52 52 {
53 - "name": "备用",
53 + "name": "备用1",
54 + "type": 0,
55 + "url": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/smt.txt",
56 + "ua": "okhttp/3.15",
57 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
58 + },
59 + {
60 + "name": "备用2",
54 61 "type": 0,
55 62 "url": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/lenin.txt",
56 63 "ua": "okhttp/3.15",
57 64 "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
58 65 },
59 66 {
60 - "name": "网友IPTV",
67 + "name": "备用3",
61 68 "type": 0,
62 69 "url": "https://pastebin.com/raw/rmGTuRZL",
63 70 "ua": "okhttp/3.15",

imyip's Avatar imyip revised this gist 5 months ago. Go to revision

1 file changed, 14 insertions, 58 deletions

live.json

@@ -57,64 +57,20 @@
57 57 "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
58 58 },
59 59 {
60 - "name": "网友IPTV",
61 - "type": 0,
62 - "url": "https://pastebin.com/raw/rmGTuRZL",
63 - "ua": "okhttp/3.15",
64 - "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
65 - },
60 + "name": "网友IPTV",
61 + "type": 0,
62 + "url": "https://pastebin.com/raw/rmGTuRZL",
63 + "ua": "okhttp/3.15",
64 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
65 + },
66 66 {
67 - "name": "咪咕赛事",
68 - "type": 0,
69 - "url": "https://www.freetv.top/mgevent.m3u",
70 - "ua": "judy/5.2.1"
71 - },
72 - {
73 - "name": "全球赛事",
74 - "type": 0,
75 - "url": "https://smart.pendy.dpdns.org/m3u/judy.m3u",
76 - "ua": "judy/5.2.1"
77 - },
78 - {
79 - "name": "YOO体育直播",
80 - "type": 3,
81 - "api": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/yoozb.py",
82 - "ext": {}
83 - },
84 - {
85 - "name": "海星体育直播",
86 - "type": 3,
87 - "api": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/360pai.py",
88 - "ext": {}
89 - },
90 - {
91 - "name": "88KQ体育直播",
92 - "type": 0,
93 - "url": "http://php.cqshushu.ggff.net/kqt.php?公众号【医工学习日志】",
94 - "ua": "okhttp/3.15",
95 - "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
96 - },
97 - {
98 - "name": "快直播体育",
99 - "type": 3,
100 - "api": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/kzbty.py",
101 - "ext": {}
102 - },
103 - {
104 - "name": "52快直播体育",
105 - "type": 0,
106 - "url": "http://xg.52sw.top/play/kzb/ty.php",
107 - "ua": "okhttp/3.15",
108 - "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
109 - },
110 - {
111 - "name": "BeeSport直播",
112 - "type": 3,
113 - "api": "https://gist.imyip.net/imyip/fedc4aa0b3bd4d5eb9d39637a2929f25/raw/HEAD/live_beesport.pyy",
114 - "ext": {},
115 - "header": {
116 - "Referer": "https://p.m82xg4z0cdbz7.com/"
117 - }
118 - }
67 + "name": "BeeSport直播",
68 + "type": 3,
69 + "api": "https://gist.imyip.net/imyip/fedc4aa0b3bd4d5eb9d39637a2929f25/raw/HEAD/live_beesport.pyy",
70 + "ext": {},
71 + "header": {
72 + "Referer": "https://p.m82xg4z0cdbz7.com/"
73 + }
74 + }
119 75 ]
120 76 }

imyip's Avatar imyip revised this gist 5 months ago. Go to revision

1 file changed, 67 insertions, 7 deletions

live.json

@@ -49,12 +49,72 @@
49 49 "epg": "http://iptv.52sw.top:668/?ch={name}&date={date}",
50 50 "logo": "https://epg.112114.xyz/logo/{name}.png"
51 51 },
52 - {
53 - "name": "备用",
54 - "type": 0,
55 - "url": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/lenin.txt",
56 - "ua": "okhttp/3.15",
57 - "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
58 - }
52 + {
53 + "name": "备用",
54 + "type": 0,
55 + "url": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/lenin.txt",
56 + "ua": "okhttp/3.15",
57 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
58 + },
59 + {
60 + "name": "网友IPTV",
61 + "type": 0,
62 + "url": "https://pastebin.com/raw/rmGTuRZL",
63 + "ua": "okhttp/3.15",
64 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
65 + },
66 + {
67 + "name": "咪咕赛事",
68 + "type": 0,
69 + "url": "https://www.freetv.top/mgevent.m3u",
70 + "ua": "judy/5.2.1"
71 + },
72 + {
73 + "name": "全球赛事",
74 + "type": 0,
75 + "url": "https://smart.pendy.dpdns.org/m3u/judy.m3u",
76 + "ua": "judy/5.2.1"
77 + },
78 + {
79 + "name": "YOO体育直播",
80 + "type": 3,
81 + "api": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/yoozb.py",
82 + "ext": {}
83 + },
84 + {
85 + "name": "海星体育直播",
86 + "type": 3,
87 + "api": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/360pai.py",
88 + "ext": {}
89 + },
90 + {
91 + "name": "88KQ体育直播",
92 + "type": 0,
93 + "url": "http://php.cqshushu.ggff.net/kqt.php?公众号【医工学习日志】",
94 + "ua": "okhttp/3.15",
95 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
96 + },
97 + {
98 + "name": "快直播体育",
99 + "type": 3,
100 + "api": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/kzbty.py",
101 + "ext": {}
102 + },
103 + {
104 + "name": "52快直播体育",
105 + "type": 0,
106 + "url": "http://xg.52sw.top/play/kzb/ty.php",
107 + "ua": "okhttp/3.15",
108 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
109 + },
110 + {
111 + "name": "BeeSport直播",
112 + "type": 3,
113 + "api": "https://gist.imyip.net/imyip/fedc4aa0b3bd4d5eb9d39637a2929f25/raw/HEAD/live_beesport.pyy",
114 + "ext": {},
115 + "header": {
116 + "Referer": "https://p.m82xg4z0cdbz7.com/"
117 + }
118 + }
59 119 ]
60 120 }

imyip's Avatar imyip revised this gist 5 months ago. Go to revision

1 file changed, 8 insertions, 1 deletion

live.json

@@ -48,6 +48,13 @@
48 48 ],
49 49 "epg": "http://iptv.52sw.top:668/?ch={name}&date={date}",
50 50 "logo": "https://epg.112114.xyz/logo/{name}.png"
51 - }
51 + },
52 + {
53 + "name": "备用",
54 + "type": 0,
55 + "url": "https://gh-proxy.com/raw.githubusercontent.com/alenin-zhang/IPTV/master/lenin.txt",
56 + "ua": "okhttp/3.15",
57 + "epg": "https://iptv.crestekk.cn/epgphp/?ch={name}&date={date}"
58 + }
52 59 ]
53 60 }