Closed trtuanpham closed 2 months ago
Actually they should be both tried:
get_gameName() { url=https://download2.vimm.net/download/?mediaId=$mediaId headers=$(curl -sI -X GET -H "Referer: https://vimm.net/vault/$vaultId" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0" --insecure $url) gameName=$(echo "$headers" | grep -o -E "filename=." | cut -d'=' -f2 | cut -d'"' -f2) if [ "$gameName" = "" ]; then url=https://download3.vimm.net/download/?mediaId=$mediaId headers=$(curl -sI -X GET -H "Referer: https://vimm.net/vault/$vaultId" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0" --insecure $url) gameName=$(echo "$headers" | grep -o -E "filename=." | cut -d'=' -f2 | cut -d'"' -f2) fi sleep 1 }
So I’m not sure this is the problem…
In my case I had to change that there was no “/download” for it to work Update: I downloaded gameboy advance roms
Ok I got it, I will try to update it and test.
Fixed in last 1.7 release: https://github.com/Vitty85/vimm-client-miyoo/releases/download/1.7/MiyooVimmClient.zip
please update it from "https://download3.vimm.net/download/?mediaId=$mediaId" to "https://download2.vimm.net/?mediaId=$mediaId"