mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add Google web search
This commit is contained in:
parent
8ada28488c
commit
abe1cf1425
@ -12,20 +12,23 @@ AUTHOR_SEARCHES = {
|
|||||||
'wikipedia':
|
'wikipedia':
|
||||||
'https://en.wikipedia.org/w/index.php?search={author}',
|
'https://en.wikipedia.org/w/index.php?search={author}',
|
||||||
'google':
|
'google':
|
||||||
'https://www.google.co.in/search?tbm=bks&q=inauthor:%22{author}%22',
|
'https://www.google.com/search?tbm=bks&q=inauthor:%22{author}%22',
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOK_SEARCHES = {
|
BOOK_SEARCHES = {
|
||||||
'goodreads':
|
'goodreads':
|
||||||
'https://www.goodreads.com/search?q={author}+{title}&search%5Bsource%5D=goodreads&search_type=books&tab=books',
|
'https://www.goodreads.com/search?q={author}+{title}&search%5Bsource%5D=goodreads&search_type=books&tab=books',
|
||||||
'google':
|
'google':
|
||||||
'https://www.google.co.in/search?tbm=bks&q=inauthor:%22{author}%22+intitle:%22{title}%22',
|
'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',
|
||||||
}
|
}
|
||||||
|
|
||||||
NAMES = {
|
NAMES = {
|
||||||
'goodreads': 'Goodreads',
|
'goodreads': _('Goodreads'),
|
||||||
'google': 'Google Books',
|
'google': _('Google books'),
|
||||||
'wikipedia': 'Wikipedia'
|
'wikipedia': _('Wikipedia'),
|
||||||
|
'gws': _('Google web search'),
|
||||||
}
|
}
|
||||||
|
|
||||||
name_for = NAMES.get
|
name_for = NAMES.get
|
||||||
|
Loading…
x
Reference in New Issue
Block a user