There is no progress when running the show/download command. I have to ctrl-c to terminate it.
$ pan show http://pan.baidu.com/s/1ntDRD1Z
^CTraceback (most recent call last):
File "/usr/local/bin/pan", line 53, in
execute_command()
File "/usr/local/bin/pan", line 49, in execute_command
commandscommand
File "/data/projects/pan-baidu-download/command/show.py", line 15, in show
info = pan.get_dlink(url)
File "/data/projects/pan-baidu-download/bddown_core.py", line 109, in get_dlink
response = self._request('POST', url, extra_params=extra_params, post_data=post_form)
File "/data/projects/pan-baidu-download/bddown_core.py", line 185, in _request
response = self.session.post(base_url, data=post_data, params=params, headers=self.headers, _kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 504, in post
return self.request('POST', url, data=data, json=json, _kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 447, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 375, in prepare_request
params=merge_setting(request.params, self.params),
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 62, in merge_setting
merged_setting = dict_class(to_key_val_list(session_setting))
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/packages/ordered_dict.py", line 37, in init
self.__root
KeyboardInterrupt
There is no progress when running the show/download command. I have to ctrl-c to terminate it.
$ pan show http://pan.baidu.com/s/1ntDRD1Z ^CTraceback (most recent call last): File "/usr/local/bin/pan", line 53, in
execute_command()
File "/usr/local/bin/pan", line 49, in execute_command
commandscommand
File "/data/projects/pan-baidu-download/command/show.py", line 15, in show
info = pan.get_dlink(url)
File "/data/projects/pan-baidu-download/bddown_core.py", line 109, in get_dlink
response = self._request('POST', url, extra_params=extra_params, post_data=post_form)
File "/data/projects/pan-baidu-download/bddown_core.py", line 185, in _request
response = self.session.post(base_url, data=post_data, params=params, headers=self.headers, _kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 504, in post
return self.request('POST', url, data=data, json=json, _kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 447, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 375, in prepare_request
params=merge_setting(request.params, self.params),
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 62, in merge_setting
merged_setting = dict_class(to_key_val_list(session_setting))
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/packages/ordered_dict.py", line 37, in init
self.__root
KeyboardInterrupt