Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Program just stuck... #9

Closed
leonardoxiao opened this issue Dec 12, 2014 · 1 comment
Closed

Program just stuck... #9

leonardoxiao opened this issue Dec 12, 2014 · 1 comment

Comments

@leonardoxiao
Copy link

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

sdvcrx added a commit that referenced this issue Dec 12, 2014
Sign need to match timestamp, if not errno will return 113.
@sdvcrx
Copy link
Owner

sdvcrx commented Dec 12, 2014

Finally fixed. Thanks for testing! :)

PS: I recommand this addons/extensions to download Baidu netdisk.

@sdvcrx sdvcrx closed this as completed Dec 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants