diff --git a/ox/web/imdb.py b/ox/web/imdb.py
index 072484d..c57a4cc 100644
--- a/ox/web/imdb.py
+++ b/ox/web/imdb.py
@@ -21,7 +21,7 @@ class Imdb(SiteParser):
'page': 'releaseinfo',
're': [
'name="akas".*?
(.*?)',
- "td>(.*?)\n\n(.*?) | "
+ "td>(.*?).*?(.*?) | "
],
'type': 'list'
@@ -204,6 +204,11 @@ class Imdb(SiteParser):
self.baseUrl = "http://www.imdb.com/title/tt%s/" % id
super(Imdb, self).__init__(timeout)
+ if 'alternative_titles' in self:
+ for t, i in self['alternative_titles']:
+ if 'imdb display title' in i:
+ self['title'] = t
+
if 'title' in self and self['title'].startswith('"') and self['title'].endswith('"'):
self['title'] = self['title'][1:-1]
if 'runtime' in self and self['runtime']: