This commit is contained in:
j 2017-05-03 15:11:01 +02:00
parent 4b1fd064f2
commit 6509cfa3e2

View file

@ -814,8 +814,8 @@ def get_movie_poster(imdbId):
info = ImdbCombined(imdbId)
if 'posterId' in info:
poster = info['posterId']
if '@' in poster:
poster = poster.split('@')[0] + '@.jpg'
if '@._V' in poster:
poster = poster.split('@._V')[0] + '@.jpg'
return poster
elif 'series' in info:
return get_movie_poster(info['series'])