In the environment variables, just have these Python paths -
C:\Python27\;C:\Python27\Scripts The installation is done with the command "pip install streamlink", "pip install livestreamer", etc. Updates to the new version with the command "pip install -U streamlink".
P.S. Chaturbate plugin does not work. For this moment he works with this code:
Code:
import re
from streamlink.plugin import Plugin
from streamlink.plugin.api import http, validate
from streamlink.stream import HLSStream
_url_re = re.compile(r"http(s)?://(\w+.)?chaturbate.com/[^/?&]+")
_playlist_url_re = re.compile("html \+= \"src='(?P<url>[^']+)\?")
_schema = validate.Schema(
validate.transform(_playlist_url_re.search),
validate.any(
None,
validate.all(
validate.get("url"),
validate.url(
scheme="http",
path=validate.endswith(".m3u8")
)
)
)
)
class Chaturbate(Plugin):
@classmethod
def can_handle_url(self, url):
return _url_re.match(url)
def _get_streams(self):
playlist_url = http.get(self.url, schema=_schema)
if not playlist_url:
return
return HLSStream.parse_variant_playlist(self.session, playlist_url)
__plugin__ = Chaturbate
But this can change soon so keep track of the topic:
https://github.com/streamlink/streamlink/issues/767