Update Yandex image search URL. #2330

This commit is contained in:
ccd0 2019-06-23 19:36:08 -07:00
parent 48a800e1d2
commit 5f98dcfb28
2 changed files with 7 additions and 1 deletions

View File

@ -483,6 +483,12 @@ Settings =
/\/\/%\$1\.deviantart\.com\/gallery\/#\/d%\$2;regexp:\/\^\\w\+_by_\(\\w\+\)-d\(\[\\da-z\]\+\)\//g,
'//www.deviantart.com/gallery/#/d%$1%$2;regexp:/^\\w+_by_\\w+[_-]d([\\da-z]{6})\\b|^d([\\da-z]{6})-[\\da-z]{8}-/'
)
if compareString < '00001.00014.00008.00000'
if data['sauces']?
set 'sauces', data['sauces'].replace(
/https:\/\/www\.yandex\.com\/images\/search/g,
'https://yandex.com/images/search'
)
changes
loadSettings: (data, cb) ->

View File

@ -765,7 +765,7 @@ Config =
# Reverse image search:
https://www.google.com/searchbyimage?image_url=%IMG&safe=off
https://www.yandex.com/images/search?rpt=imageview&img_url=%IMG
https://yandex.com/images/search?rpt=imageview&img_url=%IMG
#//tineye.com/search?url=%IMG
#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights