예제 #1
0
    def __init__(self):
        self.videoLink = ''
        self.fileUrlPrefix = 'http://api.bilibili.com/playurl'

        self.videoTypeList = {'n': '0', 'h': '1', 's': '2'}
        self.videoType = 's'
        self.Tools = toolClass.Tools()
        self.err = errMsgClass.ErrMsg()
예제 #2
0
	def __init__ (self) :
		self.videoLink     = ''
		self.infoUrl       = 'http://play.youku.com/play/get.json?ct=12&vid='
		self.fileUrlPrefix = 'http://pl.youku.com/playlist/m3u8?ctype=12&ev=1&keyframe=0'
		self.videoTypeList = {'n': 'mp4hd', 'h': 'mp4hd2', 's': 'mp4hd3'}
		self.videoType     = 's'
		self.Tools         = toolClass.Tools()
		self.now           = int(time.time())
		self.err           = errMsgClass.ErrMsg()
예제 #3
0
 def __init__(self):
     self.videoLink = ''
     self.infoUrl = 'https://ups.youku.com/ups/get.json?&ccode=0501&client_ip=0.0.0.0&client_ts=1529741351&utid=QM7jEAtFLzkCAdr3tQK%2BqDe4&vid='
     self.fileUrlPrefix = 'http://pl.youku.com/playlist/m3u8?ctype=12&ev=1&keyframe=0'
     self.videoTypeList = {'n': 'flvhd', 'h': 'mp4hd', 's': 'mp4hd2'}
     self.videoType = 's'
     self.Tools = toolClass.Tools()
     self.now = int(time.time())
     self.err = errMsgClass.ErrMsg()
예제 #4
0
 def __init__(self):
     self.videoLink = ''
     self.fileUrlPrefix = 'http://m.tv.sohu.com/phone_playinfo?callback=jsonpx1&vid='
     self.fileUrlSuffix = '.m3u8?plat=15&pt=6&prod=ott&pg=1&ch=v&qd=816'
     self.urlSuffix = '&start=0&end=10000000000&'
     self.videoTypeList = {'n': 'nor', 'h': 'hig', 's': 'sup'}
     self.videoType = 's'
     self.Tools = toolClass.Tools()
     self.err = errMsgClass.ErrMsg()
예제 #5
0
 def __init__(self):
     self.videoLink = ''
     self.sourceID = ''
     self.idInfoUrl = 'http://api.aixifan.com/contents/'
     self.infoUrl = 'http://api.aixifan.com/plays/'
     self.youkuCfgUrl = 'https://api.youku.com/players/custom.json?type=h5&client_id=908a519d032263f8'
     self.youkuInfoUrl = 'http://play.youku.com/partner/get.json?ct=86&cid=908a519d032263f8'
     self.videoTypeList = {'n': 'mp4', 'h': 'hd2', 's': 'hd3'}
     self.fileUrlPrefix = 'http://pl.youku.com/partner/m3u8?ctype=86&ev=1'
     self.videoType = 's'
     self.tempCookie = ''
     self.Tools = toolClass.Tools()
     self.err = errMsgClass.ErrMsg()