mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add amazon and google image search as well
This commit is contained in:
parent
abe1cf1425
commit
50d027890d
@ -22,6 +22,10 @@ BOOK_SEARCHES = {
|
||||
'https://www.google.com/search?tbm=bks&q=inauthor:%22{author}%22+intitle:%22{title}%22',
|
||||
'gws':
|
||||
'https://www.google.com/search?q=inauthor:%22{author}%22+intitle:%22{title}%22',
|
||||
'amzn':
|
||||
'http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords={author}+{title}',
|
||||
'gimg':
|
||||
'http://www.google.com/images?q=%22{author}%22+%22{title}%22',
|
||||
}
|
||||
|
||||
NAMES = {
|
||||
@ -29,6 +33,8 @@ NAMES = {
|
||||
'google': _('Google books'),
|
||||
'wikipedia': _('Wikipedia'),
|
||||
'gws': _('Google web search'),
|
||||
'amzn': _('Amazon'),
|
||||
'gimg': _('Google images'),
|
||||
}
|
||||
|
||||
name_for = NAMES.get
|
||||
|
Loading…
x
Reference in New Issue
Block a user