zoom: fix update-check

This commit is contained in:
Gonzalo Tornaría
2026-01-10 10:26:48 +07:00
committed by Đoàn Trần Công Danh
parent 01555d9180
commit 23dca3e101
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ update_check() {
fi
msg_verbose "fetching $url and scanning with $rx\n"
curl "${curlargs[@]}" -H 'Accept: text/html,application/xhtml+xml,application/xml,text/plain,application/rss+xml' "$url" |
curl "${curlargs[@]}" -H 'Accept: text/html,application/xhtml+xml,application/xml,text/plain,application/rss+xml,application/json' "$url" |
grep -Po -i "$rx"
fetchedurls[$url]=yes
done |
+2 -2
View File
@@ -1,2 +1,2 @@
site="https://zoom.us/download?os=linux"
pattern='Version \K[\d.]+(?=)'
site="https://zoom.us/rest/download?os=linux"
pattern='"version":\s*"\K[\d.]+(?=")'