mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
13 lines
332 B
Python
13 lines
332 B
Python
import requests
|
|
import re
|
|
from module.check import deb
|
|
|
|
x64_deb_url = "https://go.microsoft.com/fwlink?linkid=2149051"
|
|
|
|
res = requests.head(x64_deb_url)
|
|
version = re.findall("_(.*)_", res.headers["Location"])[0]
|
|
x64_deb_url = res.headers["Location"]
|
|
# print(version, x64_deb_url)
|
|
|
|
deb("microsoft-edge-stable", version, x64_deb_url)
|