ddg
This commit is contained in:
parent
bceb5e6d4a
commit
ecf782af64
3 changed files with 45 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ import lookupbyisbn
|
|||
import openlibrary
|
||||
import worldcat
|
||||
import google
|
||||
import duckduckgo
|
||||
|
||||
providers = [
|
||||
('openlibrary', 'olid'),
|
||||
|
|
@ -18,7 +19,8 @@ providers = [
|
|||
]
|
||||
|
||||
def find(title, author=None, publisher=None, date=None):
|
||||
results = google.find(title=title, author=author, publisher=publisher, date=date)
|
||||
#results = google.find(title=title, author=author, publisher=publisher, date=date)
|
||||
results = duckduckgo.find(title=title, author=author, publisher=publisher, date=date)
|
||||
'''
|
||||
results = openlibrary.find(title=title, author=author, publisher=publisher, date=date)
|
||||
for r in results:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue