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

分享照片的API接口 #69

Open
takura opened this issue May 11, 2020 · 0 comments
Open

分享照片的API接口 #69

takura opened this issue May 11, 2020 · 0 comments

Comments

@takura
Copy link
Contributor

takura commented May 11, 2020

好像新浪方面修改了分享照片的API
https://open.weibo.com/wiki/2/statuses/share

而现有的代码,如果有上传照片的话,url会被强制改为http://upload.api.*
我试着删除weibo.py的第161-162行代码,即可解决这个问题:
# fix sina upload url:
the_url = the_url.replace('https://api.', 'https://upload.api.')

takura added a commit to takura/sinaweibopy that referenced this issue May 11, 2020
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