diff --git a/README.md b/README.md index c2f5ffa..834e0df 100644 --- a/README.md +++ b/README.md @@ -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/)| |百度网盘|baidunetdisk|[官网](https://pan.baidu.com/download)| |钉钉|com.alibabainc.dingtalk|[官网](https://www.dingtalk.com/download/)| +|飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)| ## 自行建立仓库 diff --git a/get/bytedance-feishu-stable.py b/get/bytedance-feishu-stable.py new file mode 100644 index 0000000..7165990 --- /dev/null +++ b/get/bytedance-feishu-stable.py @@ -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)