mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
add linuxqq
This commit is contained in:
parent
6f8051ab74
commit
5d0ba0e217
@ -16,3 +16,10 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://deb.wcbing.top /" | s
|
||||
```
|
||||
|
||||
接下来执行 `sudo apt update` 更新即可。
|
||||
|
||||
|
||||
## 现有软件
|
||||
|
||||
|软件名|包名|渠道|
|
||||
|-|-|-|
|
||||
|QQ|linuxqq|[官网](https://im.qq.com/linuxqq/)|
|
||||
|
||||
16
get/linuxqq.py
Normal file
16
get/linuxqq.py
Normal file
@ -0,0 +1,16 @@
|
||||
import requests
|
||||
import re
|
||||
import json
|
||||
from module.check import check_download
|
||||
|
||||
res = requests.get("https://qq-web.cdn-go.cn/im.qq.com_new/f2ff7664/rainbow/linuxQQDownload.js")
|
||||
res.encoding = "utf-8"
|
||||
|
||||
download_list_json = re.search(r"var params\s*=\s*(\{.*?\});", res.text, re.DOTALL).group(1)
|
||||
download_list = json.loads(download_list_json)
|
||||
|
||||
version = download_list["version"]
|
||||
x64_deb_url = download_list["x64DownloadUrl"]["deb"]
|
||||
# print(version, x64_deb_url)
|
||||
|
||||
check_download("linuxqq", version, x64_deb_url)
|
||||
Loading…
x
Reference in New Issue
Block a user