Traceback (most recent call last):


 "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\twisted\internet\defer.py", line 1299, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\twisted\python\failure.py", line 393, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\scrapy\core\downloader\middleware.py", line 43, in process_request

defer.returnValue((yield download_func(request=request,spider=spider)))
twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061.

Traceback (most recent call last):

 "pan.baidu.com.py", line 3715, in <module>
main(argv)

 "pan.baidu.com.py", line 3711, in main
handle_command(comd, xxx)

 "pan.baidu.com.py", line 3424, in handle_command
x.save_share(url, remotepath, infos=infos)

 "pan.baidu.com.py", line 1617, in save_share
infos = self._get_share_infos(url, remotepath, infos)

 "pan.baidu.com.py", line 1581, in _get_share_infos
info = panbaiducom.get_web_fileinfo(html, url)

 "pan.baidu.com.py", line 3011, in get_web_fileinfo
info['bdstoken']
= re.search(r'yunData.MYBDSTOKEN = "(.*?)"', cm).group(1)AttributeError: 'NoneType' object has no attribute 'group'