summarylogtreecommitdiffstats
path: root/check_ver.py
diff options
context:
space:
mode:
authorChih-Hsuan Yen2018-05-09 15:59:16 +0800
committerChih-Hsuan Yen2018-05-09 15:59:16 +0800
commit69cfd33cd71a6acf659443281d87c16475b1d376 (patch)
tree2e307e5939cce577798ef897aaab7ec373d6e667 /check_ver.py
parentfca39afd12ca38106085fc90a621fb62a93233ac (diff)
downloadaur-69cfd33cd71a6acf659443281d87c16475b1d376.tar.gz
Bump to 49.4.68
Diffstat (limited to 'check_ver.py')
-rw-r--r--check_ver.py7
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))