From 50d027890d48e413b662c4d065291049104136e4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 8 May 2017 20:46:21 +0530 Subject: [PATCH] Add amazon and google image search as well --- src/calibre/ebooks/metadata/search_internet.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/calibre/ebooks/metadata/search_internet.py b/src/calibre/ebooks/metadata/search_internet.py index 1678512160..ce38c6c0e3 100644 --- a/src/calibre/ebooks/metadata/search_internet.py +++ b/src/calibre/ebooks/metadata/search_internet.py @@ -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