nijie: fix page_url method.

The id in a bare image url is the member id, not the illust id.
This commit is contained in:
evazion
2018-09-23 12:11:14 -05:00
parent b4cf423058
commit b6228505aa
3 changed files with 13 additions and 5 deletions

View File

@@ -41,10 +41,6 @@ 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