def ytcfg(self):
        """Extract the ytcfg from the playlist page html.

        :rtype: dict
        """
        if self._ytcfg:
            return self._ytcfg
        self._ytcfg = extract.get_ytcfg(self.html)
        return self._ytcfg
示例#2
0
 def ytcfg(self):
     if self._ytcfg:
         return self._ytcfg
     self._ytcfg = extract.get_ytcfg(self.html)
     return self._ytcfg