spacepaste

  1.  
  2. url https://chicago.thelocaltourist.com/parkinginchicago
  3. Traceback (most recent call last):
  4. File "logic.py", line 19, in <module>
  5. logic(2)
  6. File "logic.py", line 14, in logic
  7. data=urlparse(url)
  8. File "C:\Users\JLM\AppData\Local\Programs\Python\Python36\Lib\urllib\parse.py", line 357, in urlparse
  9. url, scheme, _coerce_result = _coerce_args(url, scheme)
  10. File "C:\Users\JLM\AppData\Local\Programs\Python\Python36\Lib\urllib\parse.py", line 115, in _coerce_args
  11. return _decode_args(args) + (_encode_result,)
  12. File "C:\Users\JLM\AppData\Local\Programs\Python\Python36\Lib\urllib\parse.py", line 99, in _decode_args
  13. return tuple(x.decode(encoding, errors) if x else '' for x in args)
  14. File "C:\Users\JLM\AppData\Local\Programs\Python\Python36\Lib\urllib\parse.py", line 99, in <genexpr>
  15. return tuple(x.decode(encoding, errors) if x else '' for x in args)
  16. AttributeError: 'dict' object has no attribute 'decode'
  17.