country is allways dict
This commit is contained in:
parent
d38d4ffc6f
commit
70a610dc4f
1 changed files with 3 additions and 1 deletions
|
@ -79,6 +79,8 @@ def getMovieInfo(imdbId):
|
|||
txt = [cleanUp(k) for k in txt.split('|')]
|
||||
elif ', ' in txt:
|
||||
txt = [cleanUp(k) for k in txt.split(', ')]
|
||||
elif title in ('country', 'language'):
|
||||
txt = [cleanUp(txt), ]
|
||||
if title == 'original air date':
|
||||
info['series_episode_info'] = txt.split('\n')[-1].strip()
|
||||
txt = txt.split('\n')[0].strip()
|
||||
|
|
Loading…
Reference in a new issue