From 6509cfa3e2c7be5356fe37d33416b81f37f7eb58 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 3 May 2017 15:11:01 +0200 Subject: [PATCH] _V --- ox/web/imdb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 536be84..4f4641e 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -33,7 +33,7 @@ class Imdb(SiteParser): >>> Imdb('0133093')['title'] == text_type(u'The Matrix') True ''' - regex = { + regex = { 'alternativeTitles': { 'page': 'releaseinfo', 're': [ @@ -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'])