diff options
author | Chih-Hsuan Yen | 2018-05-09 15:59:16 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-05-09 15:59:16 +0800 |
commit | 69cfd33cd71a6acf659443281d87c16475b1d376 (patch) | |
tree | 2e307e5939cce577798ef897aaab7ec373d6e667 /check_ver.py | |
parent | fca39afd12ca38106085fc90a621fb62a93233ac (diff) | |
download | aur-69cfd33cd71a6acf659443281d87c16475b1d376.tar.gz |
Bump to 49.4.68
Diffstat (limited to 'check_ver.py')
-rw-r--r-- | check_ver.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/check_ver.py b/check_ver.py new file mode 100644 index 000000000000..78c001e711c6 --- /dev/null +++ b/check_ver.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python3 +import re +import requests + +resp = requests.get( + 'https://www.dropbox.com/download?plat=lnx.x86_64', allow_redirects=False) +print(re.search(r'(\d+\.4\.\d+)\.tar\.gz', resp.headers['Location']).group(1)) |