diff --git a/README.md b/README.md index 4ae2457..26ca31a 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ curl -fsSL https://packages.wcbing.top/deb/del.sh | sudo sh |滴答清单|dida|[官网](https://dida365.com/download)| |向日葵|sunloginclient
提取自 Debian 12 的依赖:
gconf2-common
libgconf-2-4|[官网](https://sunlogin.oray.com/download/linux)| |ToDesk|todesk|[官网](https://www.todesk.com/linux.html)| +|微信|wechat|[官网](https://linux.weixin.qq.com/)| > 临时收录软件会在仓库首页通知。 diff --git a/get/wechat.py b/get/wechat.py new file mode 100644 index 0000000..6ebd885 --- /dev/null +++ b/get/wechat.py @@ -0,0 +1,13 @@ +import requests +import re +from module.check import deb + +html = requests.get("https://linux.weixin.qq.com/").text +x64_deb_url = re.findall(r'href="(https:.*x86_64\.deb)"', html)[0] + +last_modified = requests.head(x64_deb_url).headers["Last-Modified"] +# Wed, 06 Nov 2024 02:08:50 GMT +version = "-".join(last_modified.split(" ")[1:5]) +# 06-Nov-2024-02:08:50 + +deb("wechat", version, x64_deb_url)