Vitty85 / vimm-client-miyoo

A simple Miyoo Mini Plus client for Vimm's Lair portal
13 stars 0 forks source link

Download link has been changed #1

Closed trtuanpham closed 2 months ago

trtuanpham commented 2 months ago

please update it from "https://download3.vimm.net/download/?mediaId=$mediaId" to "https://download2.vimm.net/?mediaId=$mediaId"

Vitty85 commented 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…

trtuanpham commented 2 months ago

In my case I had to change that there was no “/download” for it to work Update: I downloaded gameboy advance roms

Vitty85 commented 2 months ago

Ok I got it, I will try to update it and test.

Vitty85 commented 2 months ago

Fixed in last 1.7 release: https://github.com/Vitty85/vimm-client-miyoo/releases/download/1.7/MiyooVimmClient.zip