Cleans up status creation book lookup flow

This commit is contained in:
Mouse Reeve
2020-05-04 12:36:55 -07:00
parent 2c1e7b8ecc
commit 1f2de18d42
5 changed files with 99 additions and 108 deletions

View File

@ -102,6 +102,10 @@ class Connector(AbstractConnector):
return author
def expand_book_data(self, book):
pass
def get_cover(cover_url):
''' ask openlibrary for the cover '''
image_name = cover_url.split('/')[-1]