remove debug
This commit is contained in:
parent
b3a7546344
commit
d56d8aaaf9
1 changed files with 0 additions and 1 deletions
|
@ -256,7 +256,6 @@ def getMovieId(title, director='', year=''):
|
||||||
query = 'site:imdb.com %s "%s"' % (director, title)
|
query = 'site:imdb.com %s "%s"' % (director, title)
|
||||||
else:
|
else:
|
||||||
query = 'site:imdb.com "%s"' % title
|
query = 'site:imdb.com "%s"' % title
|
||||||
print query
|
|
||||||
for (name, url, desc) in google.find(query, 5, timeout=-1):
|
for (name, url, desc) in google.find(query, 5, timeout=-1):
|
||||||
if url.startswith('http://www.imdb.com/title/tt'):
|
if url.startswith('http://www.imdb.com/title/tt'):
|
||||||
return url[28:35]
|
return url[28:35]
|
||||||
|
|
Loading…
Reference in a new issue