src/streamlink/plugins/onetv.py
def vod_data(self, vid=None):
        """
        Get the VOD data path and the default VOD ID
        :return:
        """
        page = self.session.http.get(self.url)
        m = self._vod_re.search(page.text)
        vod_data_url = m and urljoin(self.url, m.group(0))
        if vod_data_url:
            self.logger.debug("Found VOD data url: {0}", vod_data_url)
            res = self.session.http.get(vod_data_url)
            return self.session.http.json(res)
def vod_data(self, vid=None):
        """
        Get the VOD data path and the default VOD ID
        :return:
        """
        page = self.session.http.get(self.url)
        m = self._vod_re.search(page.text)
        vod_data_url = m and urljoin(self.url, m.group(0))
        if vod_data_url:
            self.logger.debug("Found VOD data url: {0}", vod_data_url)
            res = self.session.http.get(vod_data_url)
            return self.session.http.json(res)
def vod_data ( self , vid = None ) : page = self . session . http . get ( self . url ) m = self . _vod_re . search ( page . text ) vod_data_url = m and urljoin ( self . url , m . group ( 0 ) ) if vod_data_url : self . logger . debug ( "Found VOD data url: {0}" , vod_data_url ) res = self . session . http . get ( vod_data_url ) return self . session . http . json ( res )
Get the VOD data path and the default VOD ID
        :return:
Get the VOD data path and the default VOD ID : return :