add linuxqq

This commit is contained in:
wcbing 2024-07-25 18:40:54 +08:00
parent 6f8051ab74
commit 5d0ba0e217
2 changed files with 23 additions and 0 deletions

View File

@ -16,3 +16,10 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://deb.wcbing.top /" | s
``` ```
接下来执行 `sudo apt update` 更新即可。 接下来执行 `sudo apt update` 更新即可。
## 现有软件
|软件名|包名|渠道|
|-|-|-|
|QQ|linuxqq|[官网](https://im.qq.com/linuxqq/)|

16
get/linuxqq.py Normal file
View 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)