go-tmdb icon indicating copy to clipboard operation
go-tmdb copied to clipboard

Proxies are ignored?

Open infodusha opened this issue 1 year ago • 3 comments

Soo I am trying to use the package with proxies configured and I have an error Get "URL HERE": dial tcp 127.0.0.1:443: connect: connection refused My config:

     config := tmdb.Config{
		APIKey: key,
		Proxies: []tmdb.Proxy{
			{Host: "127.0.0.1", Port: "1087"},
			{Host: "20.111.54.16", Port: "80"},
		},
		UseProxy: true,
	}

~Also, during my tries I checked the sources and it seems like proxies are applied only when the slice has length > 1 that means there supposed to be at least two proxies?~ Seems the source is just an override so it supposed to work even with single proxy

infodusha avatar Apr 01 '23 11:04 infodusha

Also I had tried https://github.com/cyruzin/golang-tmdb with custom transport and it worked

infodusha avatar Apr 01 '23 11:04 infodusha