allow custom metadata
This commit is contained in:
parent
ed7053c0cb
commit
996a754db5
12 changed files with 126 additions and 144 deletions
|
|
@ -24,7 +24,11 @@ providers = [
|
|||
('abebooks', 'isbn10')
|
||||
]
|
||||
|
||||
def find(title, author=None, publisher=None, date=None):
|
||||
def find(**kargs):
|
||||
title = kargs.get('title')
|
||||
author = kargs.get('author')
|
||||
publisher = kargs.get('publisher')
|
||||
date = kargs.get('date')
|
||||
#results = google.find(title=title, author=author, publisher=publisher, date=date)
|
||||
results = duckduckgo.find(title=title, author=author, publisher=publisher, date=date)
|
||||
'''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue