Skip to content

Conversation

youguanxinqing
Copy link

缘由

问题1:
Python3 中 content.text 返回为 str 类型,不需要 deocode。

问题2:

content = content.text.decode()
watch_themes = json.loads(content.text)['themes']

content 被重新赋值,已经没有 text 属性

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.

1 participant