I want to enable the proxy, I found a method named enable_proxy
, but when I do it like this:
network = pylast.LastFMNetwork(api_key = API_KEY, api_secret = API_SECRET, username = username, password_hash = password_hash)
network.enable_proxy("http//...", 8080)
I get a network error: [Errno 11004] getaddrinfo failed
, because the call of pylast.LastFMNetwork
tries to generate a network session key. How can I enable the proxy support of pylast? I don't find any example.