This commit is contained in:
wcbing 2024-10-23 19:27:18 +08:00
parent 80fa45140b
commit 4ed71aa93b
2 changed files with 12 additions and 0 deletions

View File

@ -49,6 +49,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d
|TinyGo|tinygo|[Github Releases](https://github.com/tinygo-org/tinygo/releases)| |TinyGo|tinygo|[Github Releases](https://github.com/tinygo-org/tinygo/releases)|
|LocalSend|localsend|[Github Releases](https://github.com/localsend/localsend/releases)| |LocalSend|localsend|[Github Releases](https://github.com/localsend/localsend/releases)|
|Motrix|motrix|[Github Releases](https://github.com/agalwood/Motrix/releases)| |Motrix|motrix|[Github Releases](https://github.com/agalwood/Motrix/releases)|
|滴答清单|dida|[官网](https://dida365.com/download)
### 合并自官方 repo ### 合并自官方 repo

11
get/dida.py Normal file
View File

@ -0,0 +1,11 @@
import requests
from module.check import deb
x64_deb_req = requests.head("https://dida365.com/static/getApp/download?type=linux_deb_x64", headers={"User-Agent": "curl/8.10.1"})
# arm64_deb_req = requests.head("https://dida365.com/static/getApp/download?type=linux_deb_arm64", headers={"User-Agent": "curl/8.10.1"})
x64_deb_url = x64_deb_req.headers["location"]
# https://cdn.dida365.cn/download/linux/linux_deb_x64/dida-6.0.0-amd64.deb
version = x64_deb_url.split("-")[-2]
deb("dida", version, x64_deb_url)