mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix #2128 (Google Books Fetch Metadata Fails With Apostrophe In Title)
This commit is contained in:
parent
c22ad7f26e
commit
3a1909ba2f
@ -64,6 +64,8 @@ class Query(object):
|
||||
if publisher is not None:
|
||||
q += build_term('publisher', publisher.split())
|
||||
|
||||
if isinstance(q, unicode):
|
||||
q = q.encode('utf-8')
|
||||
self.url = self.BASE_URL+urlencode({
|
||||
'q':q,
|
||||
'max-results':max_results,
|
||||
|
Loading…
x
Reference in New Issue
Block a user