Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

save_share_list #90

Open
dragonfly-xie opened this issue Dec 15, 2018 · 0 comments
Open

save_share_list #90

dragonfly-xie opened this issue Dec 15, 2018 · 0 comments

Comments

@dragonfly-xie
Copy link

  1. short link without password can't work,
    if password is not None: data = { "pwd": password, "t": str(int(time.time())), } url = "http://pan.baidu.com/share/verify?surl=" + surl verify_result = json.loads(self._request(None, data=data, url=url).content) if not verify_result or verify_result['errno'] != 0: return verify_result
    so, i just skip the verify process

  2. when the share url invalid, context['file_list'] is None, cause exception.
    if m: context = json.loads(m.group(1)) file_list = context['file_list']['list'] uk = str(context['uk']) shareid = str(context['shareid'])

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

1 participant