kikyous / xfdown

QQ旋风离线下载程序
170 stars 54 forks source link

Use new api to get task list. #27

Closed kamikat closed 10 years ago

kamikat commented 10 years ago

BTW, Fix following issue,

Traceback (most recent call last): File "./xfdown.py", line 134, in XFdownUi().main() File "./xfdown.py", line 96, in main self.work() File "./xfdown.py", line 100, in work xf.download(self.getSelected()) File "/home/trinity/Workspace/xfdown/xfdown_api.py", line 111, in download self.gethttp(lists) File "/home/trinity/Workspace/xfdown/xfdown_api.py", line 306, in gethttp self.filehttp[num]=(re.search(r'\"com_url\":\"(.+?)\"\,\"',str).group(1)) AttributeError: 'NoneType' object has no attribute 'group'