genre is array
This commit is contained in:
parent
e8e42401aa
commit
93bd2e72e9
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def getMovieInfo(imdbId):
|
||||||
txt = [cleanUp(k) for k in txt.split('|')]
|
txt = [cleanUp(k) for k in txt.split('|')]
|
||||||
elif ', ' in txt:
|
elif ', ' in txt:
|
||||||
txt = [cleanUp(k) for k in txt.split(', ')]
|
txt = [cleanUp(k) for k in txt.split(', ')]
|
||||||
elif title in ('country', 'language'):
|
elif title in ('country', 'language', 'genre'):
|
||||||
txt = [cleanUp(txt), ]
|
txt = [cleanUp(txt), ]
|
||||||
if title == 'tv series':
|
if title == 'tv series':
|
||||||
info['series_imdb'] = findRe(i[1], 'tt(\d{7})')
|
info['series_imdb'] = findRe(i[1], 'tt(\d{7})')
|
||||||
|
|
Loading…
Reference in a new issue