usa display title

This commit is contained in:
j 2011-10-19 15:46:07 +02:00
parent 87f491e96e
commit bfe269a349

View file

@ -11,7 +11,6 @@ import ox
from ox import findRe, stripTags from ox import findRe, stripTags
from ox.normalize import normalizeTitle, normalizeImdbId from ox.normalize import normalizeTitle, normalizeImdbId
import ox.cache import ox.cache
from ox.cache import readUrl
from siteparser import SiteParser from siteparser import SiteParser
import google import google
@ -278,6 +277,7 @@ class Imdb(SiteParser):
if 'recut version' in t[1].lower(): return False if 'recut version' in t[1].lower(): return False
if 'working title' in t[1].lower(): return False if 'working title' in t[1].lower(): return False
if 'complete title' in t[1].lower(): return False if 'complete title' in t[1].lower(): return False
if 'usa (imdb display title)' in t[1].lower(): return True
if t[1].lower() == 'usa': return True if t[1].lower() == 'usa': return True
if 'international (english title)' in t[1].lower(): return True if 'international (english title)' in t[1].lower(): return True
#fails if orignial is english... Japan (English title) #fails if orignial is english... Japan (English title)