livestreamer
livestreamer copied to clipboard
Proxy authentication
Hi
I am currently having a problem using a proxy.
I have been searching for 2 days now how to fix this.
This is the command line I use in CMD. Ive never had a problem until I had to use a proxy.
livestreamer -o "C:\TMP\Test.mp4" --http-proxy "http://adress :port/" --hls-segment-threads 4 --hls-segment-attempts 5 --retry-open 99 --s tream-segment-attempts 9 --retry-streams 10 http://www.twitch.tv/Name/ v/33617730 BEST [cli][info] Found matching plugin twitch for URL http://www.twitch.tv/Name yy/v/33617730 [cli][error] Unable to open URL: https://api.twitch.tv/api/vods/33617730/access_ token.json (Cannot connect to proxy. Socket error: Tunnel connection failed: 407 Proxy Authentication Required.) [cli][info] Waiting for streams, retrying every 10.0 second(s)
I Think I just need to add the command for the Username and Password for the HTTP proxy . But dont know how
Any assistance would be appreciated
I don't think it is implemented yet.
edit: you cant try this format : --http-proxy "http://username:password@address:port/"
Hmm doesn't seem to work. Thanks for the help though.
I think you should use --http-proxy "http://username:password@address:port"
and --https-proxy "https://username:password@address:port"
.
hey @NL9 do I have to provide both the http and https? or just http?
I am trying to do this but its not working:
pi@raspberrypi:~ $ streamlink --http-proxy "http://bachoo786:[email protected]:XXXX/XXX.nsv"
I get the following:
usage: streamlink [OPTIONS] <URL> [STREAM]
Anyone can help please?