add bytedance-feishu-stable

This commit is contained in:
wcbing 2024-09-01 22:42:45 +08:00
parent e80e290d47
commit 196bf6700c
2 changed files with 13 additions and 0 deletions

View File

@ -39,6 +39,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d
|WPS Office|wps-office|[官网](https://linux.wps.cn/)| |WPS Office|wps-office|[官网](https://linux.wps.cn/)|
|百度网盘|baidunetdisk|[官网](https://pan.baidu.com/download)| |百度网盘|baidunetdisk|[官网](https://pan.baidu.com/download)|
|钉钉|com.alibabainc.dingtalk|[官网](https://www.dingtalk.com/download/)| |钉钉|com.alibabainc.dingtalk|[官网](https://www.dingtalk.com/download/)|
|飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)|
## 自行建立仓库 ## 自行建立仓库

View File

@ -0,0 +1,12 @@
import requests
import json
from module.check import deb
x64_deb_res = requests.get("https://www.feishu.cn/api/package_info?platform=10")
x64_deb_json = json.loads(x64_deb_res.text)
# "version_number": "Linux-x64-deb@V7.22.9"
version = x64_deb_json["data"]["version_number"].split("@V")[1]
x64_deb_url = x64_deb_json["data"]["download_link"]
deb("bytedance-feishu-stable", version, x64_deb_url)