go-tmdb
go-tmdb copied to clipboard
Proxies are ignored?
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
Also I had tried https://github.com/cyruzin/golang-tmdb with custom transport and it worked