mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-29 02:28:30 +08:00
add qqmusic, wemeet
This commit is contained in:
parent
48314db7b5
commit
dd8ef24374
@ -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|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)|
|
|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)|
|
|mihomo|mihomo|[Github Releases](https://github.com/MetaCubeX/mihomo/releases)|
|
||||||
|hugo|hugo|[Github Releases](https://github.com/gohugoio/hugo/releases)|
|
|hugo|hugo|[Github Releases](https://github.com/gohugoio/hugo/releases)|
|
||||||
|
|||||||
15
get/qqmusic.py
Normal file
15
get/qqmusic.py
Normal file
@ -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 <span class=\"product_list__version\">最新版:(\d+\.\d+\.\d+)</span>",
|
||||||
|
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)
|
||||||
28
get/wemeet.py
Normal file
28
get/wemeet.py
Normal file
@ -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)
|
||||||
Loading…
x
Reference in New Issue
Block a user