From e6aae3abe531eda62bf38edb1cb3174a1477f5a4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 22 Sep 2012 22:11:54 +0200 Subject: [PATCH] case sensitive title type match --- ox/web/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index bb8a7a1..0d6b35c 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -284,7 +284,7 @@ class Imdb(SiteParser): super(Imdb, self).__init__(0) for t in self.get('alternativeTitles', []): - for type in t[1].lower().split('/'): + for type in t[1].split('/'): type = type.strip() for regexp in ( "^.+ \(imdb display title\) \(English title\)$",