do empty posters, hand down more timeouts

This commit is contained in:
j 2011-11-01 13:04:13 +01:00
commit 2a7b70c576
2 changed files with 9 additions and 3 deletions

View file

@ -531,7 +531,7 @@ def getMovieId(title, director='', year='', timeout=-1):
#print (title, director), ": '',"
#print google_query
results = google.find(google_query)
results = google.find(google_query, timeout=timeout)
if results:
return findRe(results[0][1], 'title/tt(\d{7})')
#or nothing