From 4d11acdb87c6eb964854d82f5ce6900140489f09 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 16 Sep 2007 14:24:37 +0000 Subject: [PATCH] more than 7 is unlikely --- scrapeit/wikipedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapeit/wikipedia.py b/scrapeit/wikipedia.py index 54a21e4..c59736e 100644 --- a/scrapeit/wikipedia.py +++ b/scrapeit/wikipedia.py @@ -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)