Skip to content

上传文件失败 #110

Open
Open

Description

@2005czq

上传文件时触发 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 后问题解决。

烦请作者修复,感谢!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions