case sensitive title type match

This commit is contained in:
j 2012-09-22 22:11:54 +02:00
parent da72fbdaed
commit e6aae3abe5

View file

@ -284,7 +284,7 @@ class Imdb(SiteParser):
super(Imdb, self).__init__(0) super(Imdb, self).__init__(0)
for t in self.get('alternativeTitles', []): for t in self.get('alternativeTitles', []):
for type in t[1].lower().split('/'): for type in t[1].split('/'):
type = type.strip() type = type.strip()
for regexp in ( for regexp in (
"^.+ \(imdb display title\) \(English title\)$", "^.+ \(imdb display title\) \(English title\)$",