tweak for asian films
This commit is contained in:
parent
4d11acdb87
commit
63cf69d05f
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue