Skip to content

Commit

Permalink
Merge pull request #106 from Johnserf-Seed/v0.0.1.6-pw2
Browse files Browse the repository at this point in the history
Release v0.0.1.6 pw2累计更新修复 24/May/04 - 24/Jun/28
  • Loading branch information
Johnserf-Seed committed Jun 28, 2024
2 parents d487240 + 467b49f commit 77d9709
Show file tree
Hide file tree
Showing 163 changed files with 22,773 additions and 1,922 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/Codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ jobs:
pip install pytest-cov
pip install -e .
- name: Print environment variable
run: echo $SKIP_IN_CI
env:
SKIP_IN_CI: ${{ secrets.SKIP_IN_CI }}

- name: Run tests and collect coverage
env:
SKIP_IN_CI: ${{ secrets.SKIP_IN_CI }}
run: pytest --cov=./ --cov-report=xml

- name: Run ATS
uses: codecov/codecov-ats@v0
env:
SKIP_IN_CI: ${{ secrets.SKIP_IN_CI }} # 从GitHub Secrets中获取环境变量
CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
31 changes: 31 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Black 格式化代码",
"type": "debugpy",
"request": "launch",
"module": "black",
"args": [
"${input:pythonPath}",
"--exclude",
"venv/*",
],
"env": {
"PYTHONDEVMODE": "1",
"PYDEVD_DISABLE_FILE_VALIDATION": "1"
}
}
],
"inputs": [
{
"id": "pythonPath",
"type": "promptString",
"description": "输入需要格式化的目录",
"default": "**/*.py"
}
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.analysis.typeCheckingMode": "off"
"python.analysis.typeCheckingMode": "off",
"python.analysis.autoImportCompletions": false
}
107 changes: 106 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,112 @@

## [Unreleased]

- `0.0.1.6`版本中添加对`weibo``x`的支持
- `0.0.1.7`版本中将会添加接口本地转发的支持,添加更多`douyin``tiktok``weibo``x`的接口。


## [0.0.1.6] - 2024-05-04

### Added

- 添加`weibo`应用
- 添加`abogus(limit ua)`加密
- 添加`douyin`加密算法切换配置
- 添加基础接口模型转url类
- 添加`WebSocket`爬虫客户端
- 添加`douyin`直播wss签名管理器
- 添加`douyin`直播wss签名生成类
- 添加`douyin`工具JS库`webmssdk.es5-1.0.0.53`
- 添加`douyin`直播间弹幕wss接口
- 添加`F2`版本检测
- 添加`tiktok`直播间开播状态
- 添加`PyExecJS==1.5.1`依赖
- 添加`protobuf==4.23.0`依赖
- 添加`websockets>=11.0`依赖
- 添加`tiktok``device_id注册``cookie`管理类
- 添加`douyin`生成`webid`配置
- 添加`douyin`关注用户直播
- 添加`douyin``tiktok`模型配置
- 添加`conf.yaml`配置版本号
- 添加`tiktok`集成测试
- 添加`traceback`输出
- 添加`douyin`短剧作品
- 添加同步客户端的同步`transport`
- 添加同步客户端
- 添加`douyin`直播弹幕初始化
- 添加`douyin`合集`mix_id`获取方法
- 添加`douyin`查询用户
- 添加时间戳转换的默认时区设置(`UTC/GMT+08:00`
- 添加`ClientConfManager`为每个应用提供方便的配置读取
- 添加`uniqueId`查询`tiktok``user_db`
- 添加获取`segments``duration`列表方法
- 添加应用运行模式的输出
- 新增`tiktok`作品搜索
- 新增`tiktok`用户直播
- 添加反转义`JSON`方法
- 新增`douyin`相关推荐
- 新增`douyin`好友作品

### Changed

- 更新`__aexit__`方法
- 更新`douyin`加密算法代码片段
- 更新`weibo`测试用例
- 优化命令不存在的输出
- 取消接口数据过滤器对`bool`的预处理
- 调整停止异步任务信号
- 更新`douyin``xbogus`调用
- 为装饰器文件重命名
- 更新获取`Content-Length`的方法
- 防止`douyin`直播结束时下载崩溃
- 更新`BaseCrawler`类处理`httpx`即将弃用`proxies`参数
- 更新`tiktok``msToken`配置
- 修复`ClientConfManager`参数
- 更新了所有应用配置
- 重构了所有工具类方法
- 更新`base_downloader`的区块下载参数
- 修改`douyin`生成的`ttwid`将绑定`ua`
- 修改`tiktok`用户直播下载流地址
- 修改`douyin``tiktok`获取用户信息方法名
- 完善时间戳转换类型,支持30位
- 修改应用的代理配置名(`http: https: -> http://: https://:`
- 更新`xb`算法示例部分
- 更新`base_crawler`异常捕获与输出
- 更新应用初始化配置文件后退出 (#70)
- 更新应用使用`--auto-cookie`命令后退出
- 更新`douyin`过滤器,将`video_play_addr`返回完整视频列表便于下载失败轮替
- 更改`douyin`图集文件名(`jpg -> webp`
- 更改应用直播下载文件名(`mp4 -> flv`
- 更新应用工具类网络错误捕获

### Deprecated

- 弃用`douyin`SSO扫码登录
-`BaseModel`中的`dict`方法已弃用(`pydantic>=2.6.4`)
-`datetime`中的`utcnow`方法已弃用
- 弃用`douyin``tiktok`获取用户名方法

### Removed

- 删除`tiktok`基础请求模型的无用参数
- 删除`f2\utils\utils.py`无效导入

### Fixed

- 修复`douyin`接口更新导致的错误 #104
- 修复`_dl`日志输出
- 修复`douyin`下载合集时合集链接无法识别的情况
- 修复`tiktok`下载播放列表(合集)的错误
- 修复`m3u8`流下载时会重复下载`ts`片段的问题
- 修复`m3u8`流获取`content_length`时没有提供代理参数造成的访问失败
- 修复`douyin``tiktok`因提前引发异常导致无法生成虚假的msToken

### Security

- 更新`pytest`版本到`8.2.1`
- 更新`pydantic`版本到`2.6.4`
- 更新`httpx`版本到`0.27.0`
- 更新`aiosqlite`版本到`0.20.0`


## [0.0.1.5] - 2024-04-04

Expand Down
Loading

0 comments on commit 77d9709

Please sign in to comment.