def _get_live_streams(self, match):
        """
        Get the live stream in a particular language
        :param match:
        :return:
        """
        live_url = self._live_api_url.format(match.get("subdomain"))
        live_res = self.session.http.json(self.session.http.get(live_url), schema=self._live_schema)

        api_url = update_scheme("{0}:///".format(match.get("scheme")), live_res["url"])
        api_res = self.session.http.json(self.session.http.get(api_url), schema=self._stream_api_schema)

        return HLSStream.parse_variant_playlist(self.session, api_res["primary"])
def _get_live_streams(self, match):
        """
        Get the live stream in a particular language
        :param match:
        :return:
        """
        live_url = self._live_api_url.format(match.get("subdomain"))
        live_res = self.session.http.json(self.session.http.get(live_url), schema=self._live_schema)

        api_url = update_scheme("{0}:///".format(match.get("scheme")), live_res["url"])
        api_res = self.session.http.json(self.session.http.get(api_url), schema=self._stream_api_schema)

        return HLSStream.parse_variant_playlist(self.session, api_res["primary"])
def _get_live_streams ( self , match ) : live_url = self . _live_api_url . format ( match . get ( "subdomain" ) ) live_res = self . session . http . json ( self . session . http . get ( live_url ) , schema = self . _live_schema ) api_url = update_scheme ( "{0}:///" . format ( match . get ( "scheme" ) ) , live_res [ "url" ] ) api_res = self . session . http . json ( self . session . http . get ( api_url ) , schema = self . _stream_api_schema ) return HLSStream . parse_variant_playlist ( self . session , api_res [ "primary" ] )
Get the live stream in a particular language
        :param match:
        :return:
Get the live stream in a particular language : param match : : return :