request = requests.get("http://api.roblox.com/Marketplace/ProductInfo?assetId=1834225941").content
print(str(request["Sales"]))
这会产生以下错误:
Traceback (most recent call last):
File "C:\Users\yorks\Desktop\BloxUtility\bot.py", line 22, in <module>
print(int(request["Sales"]))
TypeError: byte indices must be integers or slices, not str
你能帮我吗?
这应该管用
您可以阅读反序列化here
相关问题 更多 >
编程相关推荐