fix stop words
This commit is contained in:
parent
6df54b5ca2
commit
a79b2a6134
1 changed files with 5 additions and 1 deletions
|
@ -291,6 +291,7 @@ class Imdb(SiteParser):
|
|||
for t in self.get('alternativeTitles', []):
|
||||
for type in t[1].split('/'):
|
||||
type = type.strip()
|
||||
stop_word = False
|
||||
for key in (
|
||||
'complete title',
|
||||
'recut version',
|
||||
|
@ -298,7 +299,10 @@ class Imdb(SiteParser):
|
|||
'working title',
|
||||
):
|
||||
if key in type:
|
||||
continue
|
||||
stop_word = True
|
||||
break
|
||||
if stop_word:
|
||||
continue
|
||||
for regexp in (
|
||||
"^.+ \(imdb display title\) \(English title\)$",
|
||||
"^International \(English title\)$",
|
||||
|
|
Loading…
Reference in a new issue