Sauce: Update ImgOps URL format.

This commit is contained in:
ccd0 2020-03-28 21:46:21 -07:00
parent 84e6510744
commit e3a29abe8b
2 changed files with 4 additions and 1 deletions

View File

@ -535,6 +535,9 @@ Settings =
set 'sauces', data['sauces'].replace(
/https:\/\/www\.deviantart\.com\/gallery\/#\/d%\$1%\$2;regexp:\/\^\\w\+_by_\\w\+\[_-\]d\(\[\\da-z\]\{6\}\)\\b\|\^d\(\[\\da-z\]\{6\}\)-\[\\da-z\]\{8\}-\//g,
'javascript:void(open("https://www.deviantart.com/"+%$1.replace(/_/g,"-")+"/art/"+parseInt(%$2,36)));regexp:/^\\w+_by_(\\w+)[_-]d([\\da-z]{6})\\b/'
).replace(
/\/\/imgops\.com\/%URL/g
'//imgops.com/start?url=%URL'
)
changes

View File

@ -798,7 +798,7 @@ Config =
# Other tools:
#http://exif.regex.info/exif.cgi?imgurl=%URL
#//imgops.com/%URL;types:gif,jpg,png
#//imgops.com/start?url=%URL;types:gif,jpg,png
#//www.gif-explode.com/%URL;types:gif
"""