Exemple #1
0
    def __init__(self, parent, full_json, res_json, video_info):
        BasicRespond.__init__(self, parent, full_json, res_json, video_info)

        self.program = None

        self._target_video_urls = []

        self.__extract__(res_json)
Exemple #2
0
    def __init__(self,
                 parent,
                 full_json,
                 res_json,
                 extra_info,
                 isdurl,
                 audio_info=None):
        BasicRespond.__init__(self, parent, full_json, res_json, extra_info)
        self._videosize = -1
        self._audiosize = -1  # selected one

        self.isdurl = isdurl

        self._target_video_urls = []
        self._target_audio_urls = []

        self._audios_info = audio_info

        self._video_len = -1

        self.__extract__()
Exemple #3
0
 def __init__(self, parent, full_json, res_json, extra_info):
     BasicRespond.__init__(self, parent, full_json, res_json, extra_info)
     self.__extract__()