src/streamlink/plugins/wwenetwork.py
def _get_media_info(self, content_id):
        """
        Get the info about the content, based on the ID
        :param content_id:
        :return:
        """
        params = {"identityPointId": self._session_attributes.get("ipid"),
                  "fingerprint": self._session_attributes.get("fprt"),
                  "contentId": content_id,
                  "playbackScenario": self.playback_scenario,
                  "platform": "WEB_MEDIAPLAYER_5",
                  "subject": "LIVE_EVENT_COVERAGE",
                  "frameworkURL": "https://ws.media.net.wwe.com",
                  "_": int(time.time())}
        if self.session_key:
            params["sessionKey"] = self.session_key
        url = self.api_url.format(id=content_id)
        res = self.session.http.get(url, params=params)
        return self.session.http.xml(res, ignore_ns=True, schema=self._info_schema)
def _get_media_info(self, content_id):
        """
        Get the info about the content, based on the ID
        :param content_id:
        :return:
        """
        params = {"identityPointId": self._session_attributes.get("ipid"),
                  "fingerprint": self._session_attributes.get("fprt"),
                  "contentId": content_id,
                  "playbackScenario": self.playback_scenario,
                  "platform": "WEB_MEDIAPLAYER_5",
                  "subject": "LIVE_EVENT_COVERAGE",
                  "frameworkURL": "https://ws.media.net.wwe.com",
                  "_": int(time.time())}
        if self.session_key:
            params["sessionKey"] = self.session_key
        url = self.api_url.format(id=content_id)
        res = self.session.http.get(url, params=params)
        return self.session.http.xml(res, ignore_ns=True, schema=self._info_schema)
def _get_media_info ( self , content_id ) : params = { "identityPointId" : self . _session_attributes . get ( "ipid" ) , "fingerprint" : self . _session_attributes . get ( "fprt" ) , "contentId" : content_id , "playbackScenario" : self . playback_scenario , "platform" : "WEB_MEDIAPLAYER_5" , "subject" : "LIVE_EVENT_COVERAGE" , "frameworkURL" : "https://ws.media.net.wwe.com" , "_" : int ( time . time ( ) ) } if self . session_key : params [ "sessionKey" ] = self . session_key url = self . api_url . format ( id = content_id ) res = self . session . http . get ( url , params = params ) return self . session . http . xml ( res , ignore_ns = True , schema = self . _info_schema )
Get the info about the content, based on the ID
        :param content_id:
        :return:
Get the info about the content based on the ID : param content_id : : return :