forked from e621ng/e621ng
parent
124495bd33
commit
1a2517634a
@ -349,6 +349,9 @@ class Post < ActiveRecord::Base
|
||||
when %r{\Ahttp://rule34-(?:data-\d{3}|images)\.paheal\.net/(?:_images/)?([a-f0-9]{32})}i
|
||||
"http://rule34.paheal.net/post/list/md5:#{$1}/1"
|
||||
|
||||
when %r{\Ahttp://shimmie\.katawa-shoujo\.com/image/(\d+)}i
|
||||
"http://shimmie.katawa-shoujo.com/post/view/#{$1}"
|
||||
|
||||
when %r{\Ahttp://(?:(?:(?:img\d?|cdn)\.)?rule34\.xxx|img\.booru\.org/(?:rule34|r34))(?:/(?:img/rule34|r34))?/{1,2}images/\d+/(?:[a-f0-9]{32}|[a-f0-9]{40})\.}i
|
||||
"http://rule34.xxx/index.php?page=post&s=list&md5=#{md5}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user