Traceback (most recent call last):


 "//script.py", line 8, in <module>

print(dict(row))


 "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/row.py", line 104, in __getitem__

return self._data[key]
TypeError: tuple indices must be integers or slices, not str

Traceback (most recent call last):


 "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap

self.run()


 "sublist3r.py", line 269, in run

domain_list = self.enumerate()


 "sublist3r.py", line 648, in enumerate

self.extract_domains(post_resp)


 "sublist3r.py", line 660, in extract_domains

results_tbl = tbl_regex.findall(resp)[0]
TypeError: expected string or bytes-like object