The grep pattern 'makemkv-bin-' no longer matches the download page HTML. Switched to 'MakeMKV v?X.Y.Z' which matches the visible page content. Also added -f flag to curl and a guard for empty version.