Skip to content

Commit

Permalink
Update 2024-09-28 00:05
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwang1978 committed Sep 27, 2024
1 parent f473974 commit bb681ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/freetv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add assets/freetv/freetv_output.txt
git commit -m ":tada: (Freetv)AutoUpdate $(date +'%Y%m%d')"
git commit -m ":tv: (Freetv)AutoUpdate $(date +'%Y%m%d')"
current_datetime=$(date +"%Y%m%d_%H%M%S")
cp assets/freetv/freetv_output.txt history/freetv/"${current_datetime}_freetv_output.txt"
Expand Down
12 changes: 0 additions & 12 deletions assets/freetv/freetv.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ def process_channel_line(line):
freetv_lines.append(line.strip())


# channel_name=line.split(',')[0].strip()
# channel_address=clean_url(line.split(',')[1].strip()) #把URL中$之后的内容都去掉
# line=channel_name+","+channel_address #重新组织line

# if channel_address not in combined_blacklist: # 判断当前源是否在blacklist中
# # 根据行内容判断存入哪个对象,开始分发
# if "CCTV" in channel_name and check_url_existence(ys_lines, channel_address) : #央视频道
# ys_lines.append(process_name_string(line.strip()))
# elif channel_name in Olympics_2024_Paris_dictionary and check_url_existence(Olympics_2024_Paris_lines, channel_address): #奥运频道 ADD 2024-08-05
# Olympics_2024_Paris_lines.append(process_name_string(line.strip()))


def process_url(url):
try:
# 创建一个请求对象并添加自定义header
Expand Down
1 change: 1 addition & 0 deletions 主频道/♪港澳台.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
无线翡翠,http://8.137.59.151:3009/TV2/gat.php?id=4
明珠台,http://124.244.149.194:65531/bysid/2
明珠台,http://grandprix2023.asuscomm.com:8892/bysid/2.m3u8
TVB星河,http://php.jdshipin.com:8880/smt.php?id=Xinhe
凤凰中文,http://s.cdhongyuan.cn:4022/udp/239.93.0.162:2192
凤凰中文,http://s.cdhongyuan.cn:4022/udp/239.93.1.9:2192
凤凰中文,http://146.56.153.245:20121/bysid/258
Expand Down

0 comments on commit bb681ef

Please sign in to comment.