You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
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
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'])
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
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'])
The text was updated successfully, but these errors were encountered: