[SOLVED] Scripting: download command is picky about https

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
40k
Posts: 234
Joined: 09 Dec 2011 21:25

[SOLVED] Scripting: download command is picky about https

Post by 40k »

Don,

I'm having trouble using the download command to get text from a server over https.
For example ::download is able to get text from an address such as https://www.google.com but when I try to get a response from Twitch.tv's API Xyplorer throws error 400 URL not found.
For example:
https://api.twitch.tv/kraken/games
Last edited by 40k on 04 Mar 2013 16:03, edited 1 time in total.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Scripting: download command is picky about https

Post by admin »

Firefox does not find it either.

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Scripting: download command is picky about https

Post by 40k »

took a bad example. Try https://api.twitch.tv/kraken/streams

Regardless it should still work. In my OP link the response from the server is actually

{"error":"Not Found","status":404,"message":null}

That should show up in Xyplorer as pure text, instead Xyplorer throws a 400 error.

Regardless try using the link above and the result will be the same. Any chance you can investigate this? I'm working on a new script that allows users to watch streams on Twitch natively using VLC and I'd rather not require for them to install something like wget.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Scripting: download command is picky about https

Post by admin »

I cannot explain it, but it should work better next time.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Scripting: download command is picky about https

Post by admin »

Did it work?

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Scripting: download command is picky about https

Post by 40k »

admin wrote:Did it work?
This issue is now fixed, thanks Don!
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

Post Reply