src/streamlink/plugins/olympicchannel.py
def _get_live_streams(self, lang, path):
        """
        Get the live stream in a particular language
        :param lang:
        :param path:
        :return:
        """
        res = self.session.http.get(self._live_api_url.format(lang, path))
        live_res = self.session.http.json(res)['default']['uid']
        post_data = '{"channel_url":"/api/channels/%s/"}' % live_res
        try:
            stream_data = self.session.http.json(self.session.http.post(self._stream_get_url, data=post_data))['stream_url']
        except BaseException:
            stream_data = self.session.http.json(self.session.http.post(self._stream_get_url, data=post_data))['channel_url']
        return HLSStream.parse_variant_playlist(self.session, stream_data)
def _get_live_streams(self, lang, path):
        """
        Get the live stream in a particular language
        :param lang:
        :param path:
        :return:
        """
        res = self.session.http.get(self._live_api_url.format(lang, path))
        live_res = self.session.http.json(res)['default']['uid']
        post_data = '{"channel_url":"/api/channels/%s/"}' % live_res
        try:
            stream_data = self.session.http.json(self.session.http.post(self._stream_get_url, data=post_data))['stream_url']
        except BaseException:
            stream_data = self.session.http.json(self.session.http.post(self._stream_get_url, data=post_data))['channel_url']
        return HLSStream.parse_variant_playlist(self.session, stream_data)
Get the live stream in a particular language
        :param lang:
        :param path:
        :return: