Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解析失败 #30

Open
SVNzK opened this issue May 26, 2024 · 2 comments
Open

解析失败 #30

SVNzK opened this issue May 26, 2024 · 2 comments

Comments

@SVNzK
Copy link

SVNzK commented May 26, 2024

Traceback (most recent call last):
File "/root/github/OneDriveShareLinkPushAria2/main.py", line 418, in
downloadFiles(OneDriveShareURL, None, 0, aria2Link,
File "/root/github/OneDriveShareLinkPushAria2/main.py", line 177, in downloadFiles
originalDir = getAria2ConfigDir(aria2URL, token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/github/OneDriveShareLinkPushAria2/main.py", line 413, in getAria2ConfigDir
return json.loads(c.text)["result"]["dir"]
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'result'

使用的url:
https://5vz43f.sharepoint.com/sites/free61/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2Ffree61%2FShared%20Documents%2F2024%E5%B9%B4%2D5%E6%9C%88%2DGAME%2Fbb50&p=true&ga=1

可能是oneDriver换了接口?

@gaowanliang
Copy link
Owner

使用的不是分享链接,详见 #24

@kumiko42
Copy link

可能是因为忘填写RPC secret了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants