do empty posters, hand down more timeouts
This commit is contained in:
parent
6655864337
commit
2a7b70c576
2 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue