AttributeError: 'str' object has no attribute 'decode'

Can you please prit what urlread returns?
print(urlread(url,data={‘q’:term})
Maybe it returned an error message (a string) that cannot be decoded?

1 Like