error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 810, in bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 763, in run
self.__target(_self.args, *_self.kwargs)
File "C:\Users\Engin\Desktop\Video-Downloader\guiClass.py", line 136, in get
Url
urlList = getClass.chaseUrl()
File "C:\Users\Engin\Desktop\Video-Downloader\Module\youkuClass.py", line 27,
in chaseUrl
fileUrl = self.getVideoFileUrl(info)
File "C:\Users\Engin\Desktop\Video-Downloader\Module\youkuClass.py", line 71,
in getVideoFileUrl
typeInfo = self.getTypeCode(self.videoTypeList[self.videoType], videoInfo[
'data']['stream'])
File "C:\Users\Engin\Desktop\Video-Downloader\Module\youkuClass.py", line 111,
in getTypeCode
'videoTypeCode': typeCode
UnboundLocalError: local variable 'typeCode' referenced before assignment
souce: http://v.youku.com/v_show/id_XMTczOTQ0MzY3Ng==.html?from=y1.6-91.3.1.f2af377a8c3311e5b2ad
error: Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 810, in bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 763, in run self.__target(_self.args, *_self.kwargs) File "C:\Users\Engin\Desktop\Video-Downloader\guiClass.py", line 136, in get Url urlList = getClass.chaseUrl() File "C:\Users\Engin\Desktop\Video-Downloader\Module\youkuClass.py", line 27, in chaseUrl fileUrl = self.getVideoFileUrl(info) File "C:\Users\Engin\Desktop\Video-Downloader\Module\youkuClass.py", line 71, in getVideoFileUrl typeInfo = self.getTypeCode(self.videoTypeList[self.videoType], videoInfo[ 'data']['stream']) File "C:\Users\Engin\Desktop\Video-Downloader\Module\youkuClass.py", line 111, in getTypeCode 'videoTypeCode': typeCode UnboundLocalError: local variable 'typeCode' referenced before assignment