Party Vibe Psychedelic Trance Radio Station cannot be used with streamripper:
$ streamripper -v
Streamripper 1.64.6
$ streamripper http://107.182.233.214:8010/ -u "Mozilla/5.0+(Windows+NT+5.1;+WOW64;+x64;+rv:52.0)+Gecko/20100101+Firefox/52.0"
Connecting...
error -6 [SR_ERROR_CANT_RESOLVE_HOSTNAME]
bye..
shutting down
Adding --debug didn't output anything extra.
It's working with an empty User-Agent ( -u " " )
It means there is some kind of server limitation to redirect to an HTML page when the User-Agent is a browser
I agree the error should not be SR_ERROR_CANT_RESOLVE_HOSTNAME
Good work you too Eugene, I wouldn't figure that out by myself.
This problem is caused by the user-agent. If you use for instance VLC ("VLC/2.2.6 LibVLC/2.2.6"), the stream works:
Even if the problem can be solved here with changing the user-agent, I found that the misleading error message "error -6 [SR_ERROR_CANT_RESOLVE_HOSTNAME]" comes from the following sequence:
The following code in http.c, function http_sc_connect should handle redirects more intelligently:
Thank you very much.
Last edit: David Hedlund 2017-09-24
Note that you don't need a specific user agent as pointed out by Eugene Adell , you can use: streamripper http://107.182.233.214:8010/ -u " "
Last edit: David Hedlund 2017-09-24