fix nijie specs

This commit is contained in:
Albert Yi
2018-09-11 13:26:39 -07:00
parent e58172483b
commit f16c3a3f40
2 changed files with 7 additions and 3 deletions

View File

@@ -41,6 +41,10 @@ module Sources
if x =~ %r!https?://nijie\.info/view_popup\.php.+id=(\d+)!
return "https://nijie.info/view.php?id=#{$1}"
end
if x =~ %r!\Ahttps?://pic\d+\.nijie\.info/nijie_picture/(\d+)!
return "https://nijie.info/view.php?id=#{$1}"
end
end
return super