I'm trying to create a plugin for JDownloader, but I can't get the final link to begin the download.
After I send a POST with the link I want to download, the host sends me this response:
{"error":"0","link":"http:\/\/originalhost.net\/file\/ba0jf5t8","type":"2","name":"test.zip","size":"5 MB","date":"31\/12\/2017 15:56","until":"31\/12\/2018 15:56","download":"http:\/\/beta.generatedlink.net\/originalhost\/randomuuid\/test.zip","password":""}
and I want to use Regex to extract only:
http://beta.generatedlink.net/originalhost/randomuuid/test.zip
I have tried some examples I found online but I couldn't get to work
How can I do this?