cannot import imdb movie titles starting with a bracket
Bug #710860 reported by
Tomáš Cícha
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Griffith |
Fix Committed
|
Low
|
Michael |
Bug Description
When trying to import movie "(500) Days of Summer" from IMDb, field for title and original title remain empty. All other information seems to be OK. My wild guess here would be that there is some problem with a movie title starting with a bracket.
I am not a native speaker, so sorry for my English :)
Cheers,
Tom
To post a comment you must log in.
OK, i did a little peeking into the code and I think the solution would be as follows:
In file lib/plugins/ movie/PluginMov ieIMDB. py trim(self. page, '<title>', '</title>')) trim(self. page, '<title>', '</title>'))
on lines 56 and 61
change re.sub('[(].*', '', gutils.
to re.sub('[ ][(].*', '', gutils.
Please correct me if I am wrong on this.
Tom