From 1eca4de3b521a079c9d515e17f3148664a259d45 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 5 Mar 2017 09:13:01 +0100 Subject: [PATCH] fix language --- ox/web/imdb.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 2717f84..8adf9f3 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -166,7 +166,8 @@ class Imdb(SiteParser): 'language': { 'page': 'combined', 're': [ - '
Language:
.*?
', + #'
Language:
.*?
', + '
Language:
.*?
', #'(.*?)', #links changed to work with existing caches, just take all links '(.*?)', ], @@ -653,6 +654,8 @@ class Imdb(SiteParser): 'roles': c[1], 'deparment': department }) + if not self['credits']: + del self['credits'] class ImdbCombined(Imdb): def __init__(self, id, timeout=-1):