Make Google search for full images work. #670

This commit is contained in:
ccd0 2015-12-15 14:18:59 -08:00
parent 7be30e2c7b
commit a82ac15dba
2 changed files with 4 additions and 1 deletions

View File

@ -703,7 +703,7 @@ Config =
MD5: ''
sauces: """
https://www.google.com/searchbyimage?image_url=%IMG
https://www.google.com/searchbyimage?image_url=%IMG%3Fs.jpg
//iqdb.org/?url=%IMG
http://eye.swfchan.com/search/?q=%name;types:swf;sandbox
#//tineye.com/search?url=%IMG

View File

@ -336,6 +336,9 @@ Settings =
if compareString < '00001.00011.00020.00003'
for key, value of {'Inline Cross-thread Quotes Only': false, 'Pass Link': true}
changes[key] = value unless data[key]?
if compareString < '00001.00011.00020.00004' or compareString is '00001.00011.00021.00000'
if data['sauces']?
changes['sauces'] = data['sauces'].replace /^#?\s*https:\/\/www\.google\.com\/searchbyimage\?image_url=%(?:IMG|URL)(?=$|;)/mg, '$&%3Fs.jpg'
changes
loadSettings: (data, cb) ->