tweak for asian films

This commit is contained in:
j 2007-09-16 14:39:46 +00:00
parent 4d11acdb87
commit 63cf69d05f

View file

@ -19,7 +19,9 @@ def searchByImdb(imdb_id, title=None, director=None):
director = director[0] director = director[0]
else: else:
director = '' 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] url = g[1]
data = read_url(url) data = read_url(url)
soup = BeautifulSoup(data) soup = BeautifulSoup(data)