This commit is contained in:
j 2012-11-11 02:31:51 +01:00
parent b8b7e666bc
commit 8229a651f7

View file

@ -316,13 +316,13 @@ class Imdb(SiteParser):
"^UK \(imdb display title\)$",
"^International \(English title\)$",
"^International \(.+\) \(English title\)$",
"^USA$",
"^UK$",
]
if not filter(lambda c: c in ('USA', 'UK', 'Australia', 'New Zealand'), self.get('country', [])):
regexps.insert(5, "^[^(]+ \(English title\)$")
regexps.insert(6, "^.+ \(.+\) \(English title\)$")
regexps += [
"^[^(]+ \(English title\)$",
"^.+ \(.+\) \(English title\)$",
"^USA$",
"^UK$",
"^USA \(.+\)$",
"^UK \(.+\)$",
"^Australia \(.+\)$",