From 4677188407048615233383027179dfa09d9d3589 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 2 Aug 2017 17:36:57 +0200 Subject: [PATCH] get title/original title from releaseinfo --- ox/web/imdb.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index cf93bef..c766ecf 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -177,8 +177,8 @@ class Imdb(SiteParser): 'type': 'list' }, 'originalTitle': { - 'page': 'combined', - 're': '(.*?) \(original title\)', + 'page': 'releaseinfo', + 're': '\(original title\)\s*(.*?)', 'type': 'string' }, 'summary': { @@ -282,8 +282,8 @@ class Imdb(SiteParser): 'type': 'string' }, 'title': { - 'page': 'combined', - 're': '

(.*?) ', + 'page': 'releaseinfo', + 're': 'h3 itemprop="name">.*?>(.*?)', 'type': 'string' }, 'trivia': {