>>> Tvdb(cache=False, actors=True)['Death Valley (2014)']
[...]
DEBUG:urllib3.connectionpool:https://api.thetvdb.com:443 "GET /series/286509/actors HTTP/1.1" 404 21
DEBUG:tvdb_api:loadurl: https://api.thetvdb.com/series/286509/actors lid=en
DEBUG:tvdb_api:response:
DEBUG:tvdb_api:{'Error': 'not found'}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/foo/code/pythonBits/venv/lib/python3.7/site-packages/tvdb_api.py", line 1182, in __getitem__
sid = self._nameToSid(key)
File "/home/foo/code/pythonBits/venv/lib/python3.7/site-packages/tvdb_api.py", line 1168, in _nameToSid
self._getShowData(selected_series['id'], self.config['language'])
File "/home/foo/code/pythonBits/venv/lib/python3.7/site-packages/tvdb_api.py", line 1110, in _getShowData
self._parseActors(sid)
File "/home/foo/code/pythonBits/venv/lib/python3.7/site-packages/tvdb_api.py", line 1057, in _parseActors
for curActorItem in actorsEt:
TypeError: 'NoneType' object is not iterable
This should be easy to fix by wrapping the for loop at line 1057 in a if isinstance(actorsEt, abc.Iterable).
This should be easy to fix by wrapping the for loop at line 1057 in a
if isinstance(actorsEt, abc.Iterable).