diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index b645c9cc49d..daf32cd6902 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -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 | diff --git a/srcpkgs/zoom/update b/srcpkgs/zoom/update index 7b40f77946c..bd5f48f5a4d 100644 --- a/srcpkgs/zoom/update +++ b/srcpkgs/zoom/update @@ -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.]+(?=")'