fix typo
This commit is contained in:
parent
e9f9bc0fbf
commit
8d29d58f76
@ -29,7 +29,7 @@ class ProxyElem():
|
|||||||
def stream(self):
|
def stream(self):
|
||||||
session = streamlink.Streamlink()
|
session = streamlink.Streamlink()
|
||||||
session.set_option("http-timeout", 2.0)
|
session.set_option("http-timeout", 2.0)
|
||||||
is self.proxy is not None:
|
if self.proxy is not None:
|
||||||
session.set_option("https-proxy", "socks5://" + self.proxy)
|
session.set_option("https-proxy", "socks5://" + self.proxy)
|
||||||
session.set_option("http-proxy", "socks5://" + self.proxy)
|
session.set_option("http-proxy", "socks5://" + self.proxy)
|
||||||
return session
|
return session
|
||||||
|
Loading…
Reference in New Issue
Block a user