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

modify_weibo_python3 #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

modify_weibo_python3 #61

wants to merge 1 commit into from

Conversation

chengjoey
Copy link

修改weibo.py,python3环境下可以运行

@yoo0
Copy link

yoo0 commented Jan 18, 2018

您好,我运行了一下有一个bug想请教一下。
如果我使用 status=client.statuses__public_timeline()['statuses'] 来调用函数,则在_read_body()函数下 fcontent = gzipper.read(),会提示“ TypeError: can't concat str to bytes” ,但如果我将body转换成byte的话,则又会提示“TypeError: initial_value must be str or None, not bytes“。
不知道您是否知道该如何处理这个问题?谢谢

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

Successfully merging this pull request may close these issues.

2 participants