Fixes author path in openlibrary connector

This commit is contained in:
Mouse Reeve
2020-12-31 09:32:40 -08:00
parent c1e1bdac4b
commit 171d09599c
2 changed files with 14 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Connector(AbstractConnector):
author_blob = author_blob.get('author', author_blob)
# this id is "/authors/OL1234567A"
author_id = author_blob['key']
url = '%s%s.json' % (self.base_url, author_id)
url = '%s%s' % (self.base_url, author_id)
yield self.get_or_create_author(url)