Parser for search results in connectors
This commit is contained in:
parent
c8bb717634
commit
bb01834a31
5 changed files with 18 additions and 2 deletions
|
@ -39,6 +39,10 @@ class Connector(AbstractConnector):
|
|||
return search_results
|
||||
|
||||
|
||||
def parse_search_data(self, data):
|
||||
return data
|
||||
|
||||
|
||||
def format_search_result(self, book):
|
||||
return SearchResult(
|
||||
book.title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue