request = requests.get("http://api.roblox.com/Marketplace/ProductInfo?assetId=1834225941").content
print(str(request["Sales"]))
this gives the following error:
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
Can you help me out?