Add 'View Same' MD5 flavor examples. Match the domain, not subdomain.

This commit is contained in:
Nicolas Stepien 2012-02-05 01:33:26 +01:00
parent 60d071cb39
commit ea742de5d2
2 changed files with 10 additions and 6 deletions

View File

@ -141,7 +141,7 @@
filesize: '',
md5: ''
},
sauces: ['http://iqdb.org/?url=$1', 'http://google.com/searchbyimage?image_url=$1', '#http://tineye.com/search?url=$1', '#http://saucenao.com/search.php?db=999&url=$1', '#http://3d.iqdb.org/?url=$1', '#http://regex.info/exif.cgi?imgurl=$2', '#http://imgur.com/upload?url=$2', '#http://ompldr.org/upload?url1=$2'].join('\n'),
sauces: ['http://iqdb.org/?url=$1', 'http://www.google.com/searchbyimage?image_url=$1', '#http://tineye.com/search?url=$1', '#http://saucenao.com/search.php?db=999&url=$1', '#http://3d.iqdb.org/?url=$1', '#http://regex.info/exif.cgi?imgurl=$2', '# uploaders:', '#http://imgur.com/upload?url=$2', '#http://ompldr.org/upload?url1=$2', '# "View Same" in archives:', '#http://archive.foolz.us/a/image/$3/', '#http://archive.installgentoo.net/g/image/$3'].join('\n'),
time: '%m/%d/%y(%a)%H:%M',
backlink: '>>%id',
favicon: 'ferongr',
@ -2579,7 +2579,7 @@
this.links = [];
for (_i = 0, _len = links.length; _i < _len; _i++) {
link = links[_i];
this.links.push([link, link.match(/(\w+)\./)[1]]);
this.links.push([link, link.match(/(\w+)\.\w+\//)[1]]);
}
return g.callbacks.push(this.node);
},
@ -3837,7 +3837,7 @@ img[md5], img[md5] + img {\
width: 100%;\
}\
#sauces {\
height: 350px;\
height: 320px;\
}\
\
#updater {\

View File

@ -59,13 +59,17 @@ config =
md5: ''
sauces: [
'http://iqdb.org/?url=$1'
'http://google.com/searchbyimage?image_url=$1'
'http://www.google.com/searchbyimage?image_url=$1'
'#http://tineye.com/search?url=$1'
'#http://saucenao.com/search.php?db=999&url=$1'
'#http://3d.iqdb.org/?url=$1'
'#http://regex.info/exif.cgi?imgurl=$2'
'# uploaders:'
'#http://imgur.com/upload?url=$2'
'#http://ompldr.org/upload?url1=$2'
'# "View Same" in archives:'
'#http://archive.foolz.us/a/image/$3/'
'#http://archive.installgentoo.net/g/image/$3'
].join '\n'
time: '%m/%d/%y(%a)%H:%M'
backlink: '>>%id'
@ -2036,7 +2040,7 @@ sauce =
links = conf['sauces'].match /^[^#].+$/gm
@links = []
for link in links
@links.push [link, link.match(/(\w+)\./)[1]]
@links.push [link, link.match(/(\w+)\.\w+\//)[1]]
g.callbacks.push @node
node: (root) ->
return if root.className is 'inline' or not span = $ '.filesize', root
@ -3082,7 +3086,7 @@ img[md5], img[md5] + img {
width: 100%;
}
#sauces {
height: 350px;
height: 320px;
}
#updater {