diff --git a/README.md b/README.md index 94522ac..0cc2447 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://deb.wcbing.top /" | s |软件名|包名|渠道| |-|-|-| |QQ|linuxqq|[官网](https://im.qq.com/linuxqq/)| +|QQ音乐|qqmusic|[官网](https://y.qq.com/download/download.html)| +|腾讯会议|wemeet|[官网](https://meeting.tencent.com/download/)| |Clash Verge Rev|clash-verge|[Github Releses](https://github.com/clash-verge-rev/clash-verge-rev/releases)| |mihomo|mihomo|[Github Releases](https://github.com/MetaCubeX/mihomo/releases)| |hugo|hugo|[Github Releases](https://github.com/gohugoio/hugo/releases)| diff --git a/get/qqmusic.py b/get/qqmusic.py new file mode 100644 index 0000000..44d8968 --- /dev/null +++ b/get/qqmusic.py @@ -0,0 +1,15 @@ +import requests +import re +from module.check import check_download + +res = requests.get("https://y.qq.com/download/download.html") +res.encoding = "utf-8" + +version = re.findall( + r"Linux 最新版:(\d+\.\d+\.\d+)", + res.text, +)[0] +x64_deb_url = re.findall(r"https://dl\S+\.deb", res.text)[0] +# print(version, x64_deb_url) + +check_download("qqmusic", version, x64_deb_url) diff --git a/get/wemeet.py b/get/wemeet.py new file mode 100644 index 0000000..3399592 --- /dev/null +++ b/get/wemeet.py @@ -0,0 +1,28 @@ +import requests +import json +from module.check import check_download + +""" +https://meeting.tencent.com/web-service/query-download-info?q=[\ +{"package-type":"app","channel":"0300000000","platform":"linux","arch":"x86_64","decorators":["deb"]},\ +{"package-type":"app","channel":"0300000000","platform":"linux","arch":"arm64","decorators":["deb"]},\ +{"package-type":"app","channel":"0300000000","platform":"linux","arch":"loongarch64","decorators":["deb"]}\ +]&nonce=D38mxpWk6TMTA44a +""" + +download_list_url = "https://meeting.tencent.com/web-service/query-download-info?q=%5B\ +%7B%22package-type%22%3A%22app%22%2C%22channel%22%3A%220300000000%22%2C%22platform%22%3A%22linux%22%2C%22arch%22%3A%22x86_64%22%2C%22decorators%22%3A%5B%22deb%22%5D%7D%2C\ +%7B%22package-type%22%3A%22app%22%2C%22channel%22%3A%220300000000%22%2C%22platform%22%3A%22linux%22%2C%22arch%22%3A%22arm64%22%2C%22decorators%22%3A%5B%22deb%22%5D%7D%2C\ +%7B%22package-type%22%3A%22app%22%2C%22channel%22%3A%220300000000%22%2C%22platform%22%3A%22linux%22%2C%22arch%22%3A%22loongarch64%22%2C%22decorators%22%3A%5B%22deb%22%5D%7D\ +%5D&nonce=D38mxpWk6TMTA44a" + +res = requests.get(download_list_url) +res.encoding = "utf-8" + +download_list = json.loads(res.text) + +version = download_list["info-list"][0]["version"] +x64_deb_url = download_list["info-list"][0]["url"] +# print(version, x64_deb_url) + +check_download("wemeet", version, x64_deb_url)