diff --git a/scrapeit/wikipedia.py b/scrapeit/wikipedia.py index c59736e..fbd9704 100644 --- a/scrapeit/wikipedia.py +++ b/scrapeit/wikipedia.py @@ -19,7 +19,9 @@ 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), 7): + q = u'%s %s site:en.wikipedia.org' % (title, director) + #print q.encode('utf-8') + for g in google(q, 7): url = g[1] data = read_url(url) soup = BeautifulSoup(data)