Skip to content

Commit

Permalink
Merge pull request #41 from Guovin/dev
Browse files Browse the repository at this point in the history
Release v1.0.1
  • Loading branch information
Guovin authored Apr 1, 2024
2 parents eb5d40b + 7de1797 commit 8bbcf78
Show file tree
Hide file tree
Showing 6 changed files with 1,136 additions and 257 deletions.
95 changes: 33 additions & 62 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,113 +1,84 @@
# Changelog

## v1.0.1

### 2024/4/1

- 适配接口提供方变更,调整接口链接与信息提取方法(Adapt to changes from the interface provider, adjust the interface link and information extraction method)

---

## v1.0.0

### 2024/3/30

- 修复工作流读取配置与更新文件对比问题
- 修复工作流读取配置与更新文件对比问题(Fix the issue of workflow reading configuration and comparing updated files)

---

- Fix the issue of workflow reading configuration and comparing updated files

### 2024/3/29

- 修复用户专属配置更新结果失败
- 修复用户专属配置更新结果失败(Fix user specific configuration update failure)

---

- Fix user specific configuration update failure

### 2024/3/26

- 新增快速上手-详细教程
- 新增以 releases 发布版本更新信息
- 新增快速上手-详细教程(Add a Quick Start - detailed tutorial)
- 新增以 releases 发布版本更新信息(Add release notes for version updates using releases)

---

- Add a Quick Start - detailed tutorial
- Add release notes for version updates using releases

### 2024/3/25

- 增加代码防覆盖,用户可使用 user\_作为文件前缀以区分独有配置,可避免在合并更新时本地代码被上游仓库代码覆盖,如 user_config.py、user_demo.txt、user_result.txt
- 增加代码防覆盖,用户可使用 user\_作为文件前缀以区分独有配置,可避免在合并更新时本地代码被上游仓库代码覆盖,如 user_config.py、user_demo.txt、user_result.txt(Add code anti-overwriting. Users can use user\_ as the file prefix to distinguish unique configurations. This prevents local codes from being overwritten by upstream repository codes, such as user_config.py, user_demo.txt, and user_result.txt, when merging updates)

---

- Add code anti-overwriting. Users can use user\_ as the file prefix to distinguish unique configurations. This prevents local codes from being overwritten by upstream repository codes, such as user_config.py, user_demo.txt, and user_result.txt, when merging updates

### 2024/3/21

- 修复潜在的更新文件追踪失效,导致更新失败
- 调整最近更新获取时间默认为 30 天
- 优化最近更新接口筛选,当筛选后不足指定接口个数时,将使用其它时间范围的可用接口补充
- 优化珠江、CCTV 频道匹配问题
- 移除推送实时触发更新
- 修复潜在的更新文件追踪失效,导致更新失败(Fixed potential tracking failure of updated files, leading to update failure)
- 调整最近更新获取时间默认为 30 天(Adjusted the default recent update retrieval time to 30 days)
- 优化最近更新接口筛选,当筛选后不足指定接口个数时,将使用其它时间范围的可用接口补充(Optimized the recent update interface filter, when the number of interfaces is insufficient after filtering, other time range available interfaces will be used for supplementation)
- 优化珠江、CCTV 频道匹配问题(Optimized the matching problem of Zhujiang and CCTV channels)
- 移除推送实时触发更新(Removed push real-time trigger update)

---

- Fixed potential tracking failure of updated files, leading to update failure
- Adjusted the default recent update retrieval time to 30 days
- Optimized the recent update interface filter, when the number of interfaces is insufficient after filtering, other time range available interfaces will be used for supplementation
- Optimized the matching problem of Zhujiang and CCTV channels
- Removed push real-time trigger update

### 2024/3/18

- 新增配置项:ipv_type,用于过滤 ipv4、ipv6 接口类型
- 优化文件更新逻辑,避免更新失效引起文件丢失
- 调整分页获取默认值:关注频道获取 6 页,常规频道获取 4 页,以提升更新速度
- 增加接口日志文件 result.log 输出
- 修复权重排序异常
- 新增配置项:ipv_type,用于过滤 ipv4、ipv6 接口类型(Added configuration item: ipv_type, used to filter ipv4, ipv6 interface types)
- 优化文件更新逻辑,避免更新失效引起文件丢失(Optimized file update logic to prevent file loss caused by update failure)
- 调整分页获取默认值:关注频道获取 6 页,常规频道获取 4 页,以提升更新速度(Adjusted the default value for pagination: fetch 6 pages for followed channels, 4 pages for regular channels, to improve update speed)
- 增加接口日志文件 result.log 输出(Added output of interface log file result.log)
- 修复权重排序异常(Fixed weight sorting anomaly)

---

- Added configuration item: ipv_type, used to filter ipv4, ipv6 interface types
- Optimized file update logic to prevent file loss caused by update failure
- Adjusted the default value for pagination: fetch 6 pages for followed channels, 4 pages for regular channels, to improve update speed
- Added output of interface log file result.log
- Fixed weight sorting anomaly

### 2024/3/15

- 优化代码结构
- 新增接口日志,记录详细质量指标
- 新增可手动运行工作流触发更新
- 优化代码结构(Optimize code structure)
- 新增接口日志,记录详细质量指标(Added interface logs to record detailed quality indicators)
- 新增可手动运行工作流触发更新(Added manual workflows to trigger updates)

---

- Optimize code structure
- Added interface logs to record detailed quality indicators
- Added manual workflows to trigger updates

### 2024/3/13

- 增加配置项:recent_days,筛选获取最近时间范围内更新的接口,默认最近 60 天
- 调整默认值:关注频道获取 8 页,常规频道获取 5 页
- 增加配置项:recent_days,筛选获取最近时间范围内更新的接口,默认最近 60 天(Added configuration item: recent_days, a filter to get the most recently updated interfaces, default to the last 60 days)
- 调整默认值:关注频道获取 8 页,常规频道获取 5 页(Adjusted default values: fetch 8 pages for followed channels, 5 pages for regular channels)

---

- Added configuration item: recent_days, a filter to get the most recently updated interfaces, default to the last 60 days
- Adjusted default values: fetch 8 pages for followed channels, 5 pages for regular channels

### 2024/3/6

- 更新文件代理说明
- 更新文件代理说明(Update file proxy description)

---

- Update file proxy description

### 2024/3/4

- 增加配置项:响应时间与分辨率权重值
- 移除配置项:是否过滤无效接口,始终执行过滤
- 移除按日期排序,采用响应时间与分辨率作为排序规则
- 更新 README:增加修改更新频率、文件代理说明、更新日志

---

- Added configuration items: response time and resolution weight values
- Removed configuration items: whether to filter invalid interfaces, always perform filtering
- Removed sorting by date, using response time and resolution as sorting rules
- Updated README: added modification update frequency, file proxy description, update log
- 增加配置项:响应时间与分辨率权重值(Added configuration items: response time and resolution weight values)
- 移除配置项:是否过滤无效接口,始终执行过滤(Removed configuration items: whether to filter invalid interfaces, always perform filtering)
- 移除按日期排序,采用响应时间与分辨率作为排序规则(Removed sorting by date, using response time and resolution as sorting rules)
- 更新 README:增加修改更新频率、文件代理说明、更新日志(Updated README: added modification update frequency, file proxy description, update log)
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ async def visitPage(self, channelItems):
if tables_div
else []
)
if not any(
result.find("div", class_="m3u8") for result in results
):
if not any(result.find("tbody") for result in results):
break
for result in results:
try:
Expand Down
Loading

0 comments on commit 8bbcf78

Please sign in to comment.