more than 7 is unlikely

This commit is contained in:
j 2007-09-16 14:24:37 +00:00
parent 3f7e8a8927
commit 4d11acdb87

View file

@ -19,7 +19,7 @@ def searchByImdb(imdb_id, title=None, director=None):
director = director[0]
else:
director = ''
for g in google('"%s" %s site:en.wikipedia.org' % (title, director), 20):
for g in google('"%s" %s site:en.wikipedia.org' % (title, director), 7):
url = g[1]
data = read_url(url)
soup = BeautifulSoup(data)