mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
add dida
This commit is contained in:
parent
80fa45140b
commit
4ed71aa93b
@ -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)|
|
||||
|LocalSend|localsend|[Github Releases](https://github.com/localsend/localsend/releases)|
|
||||
|Motrix|motrix|[Github Releases](https://github.com/agalwood/Motrix/releases)|
|
||||
|滴答清单|dida|[官网](https://dida365.com/download)
|
||||
|
||||
### 合并自官方 repo
|
||||
|
||||
|
||||
11
get/dida.py
Normal file
11
get/dida.py
Normal 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)
|
||||
Loading…
x
Reference in New Issue
Block a user