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

上传文件失败 #110

Open
2005czq opened this issue Nov 3, 2024 · 0 comments
Open

上传文件失败 #110

2005czq opened this issue Nov 3, 2024 · 0 comments

Comments

@2005czq
Copy link

2005czq commented Nov 3, 2024

上传文件时触发 JSONDecodeError,经分析是 core.py_upload_small_file( ... ) 出现问题:

        result = self._post('https://pc.woozooo.com/fileup.php', data=monitor, headers=tmp_header, timeout=3600)
        if not result:  # 网络异常
            file.close()
            return LanZouCloud.NETWORK_ERROR
        else:
            result = result.json()

按照 #90 的做法,将 https://pc.woozooo.com/fileup.php 改为 https://pc.woozooo.com/html5up.php 后问题解决。

烦请作者修复,感谢!

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

1 participant