livestreamer icon indicating copy to clipboard operation
livestreamer copied to clipboard

Proxy authentication

Open Postalbob opened this issue 9 years ago • 5 comments

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

Postalbob avatar Jan 19 '16 15:01 Postalbob

I don't think it is implemented yet.

edit: you cant try this format : --http-proxy "http://username:password@address:port/"

btimo avatar Jan 20 '16 17:01 btimo

Hmm doesn't seem to work. Thanks for the help though.

Postalbob avatar Jan 21 '16 06:01 Postalbob

I think you should use --http-proxy "http://username:password@address:port" and --https-proxy "https://username:password@address:port".

NL9 avatar Jan 24 '16 17:01 NL9

hey @NL9 do I have to provide both the http and https? or just http?

bachoo786 avatar Feb 20 '20 15:02 bachoo786

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?

bachoo786 avatar Feb 20 '20 15:02 bachoo786