Parser for search results in connectors
This commit is contained in:
parent
c8bb717634
commit
bb01834a31
5 changed files with 18 additions and 2 deletions
|
@ -26,6 +26,10 @@ class Connector(AbstractConnector):
|
|||
return SearchResult(**search_result)
|
||||
|
||||
|
||||
def parse_search_data(self, data):
|
||||
return data
|
||||
|
||||
|
||||
def get_or_create_book(self, remote_id):
|
||||
''' pull up a book record by whatever means possible '''
|
||||
book = models.Book.objects.select_subclasses().filter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue