diff --git a/bittersweet b/bittersweet index b6eb067..28f2f1d 100755 --- a/bittersweet +++ b/bittersweet @@ -809,14 +809,14 @@ function install_blockblock { local zip_download_path local zip_sha1 - url="$(curl -s https://objective-see.com/products/blockblock.html \ + url="$(curl -s https://objective-see.org/products/blockblock.html \ | grep -m 1 'downloads/BlockBlock' \ - | awk -F '"' '{print $2}')" + | awk -F '"' '{print $4}')" zip_name="$(echo "${url}" | awk -F '/' '{print $NF}')" zip_download_path="${HOME}/Downloads/${zip_name}" - zip_sha1="$(curl -s https://objective-see.com/products/blockblock.html \ + zip_sha1="$(curl -s https://objective-see.org/products/blockblock.html \ | grep 'SHA-1' \ - | awk '{print $4}')" + | awk -F '[> |<]' '{print $12}')" download_application "${zip_download_path}" "${url}"