only guess based on title
This commit is contained in:
parent
fc6b81383e
commit
5399216083
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def find(info, guess=True):
|
||||||
m.update()
|
m.update()
|
||||||
return m
|
return m
|
||||||
#For now fallback to ox.web.imdb.guess and try again
|
#For now fallback to ox.web.imdb.guess and try again
|
||||||
if guess:
|
if guess and 'title' in info:
|
||||||
id = ox.web.imdb.get_movie_id(info['title'])
|
id = ox.web.imdb.get_movie_id(info['title'])
|
||||||
if id:
|
if id:
|
||||||
i, created = Imdb.objects.get_or_create(imdb=id)
|
i, created = Imdb.objects.get_or_create(imdb=id)
|
||||||
|
|
Loading…
Reference in a new issue