This commit is contained in:
Albert Yi
2018-07-06 11:44:07 -07:00
parent 099654b2da
commit a0205be8b5
2 changed files with 13 additions and 0 deletions

View File

@@ -110,6 +110,8 @@ module Sources
"http://fav.me/d#{$1}"
elsif url =~ %r{\Ahttps?://(?:fc|th|pre|orig|img)\d{2}\.deviantart\.net/.+/[a-f0-9]+-d([a-z0-9]+)\.}i
"http://fav.me/d#{$1}"
elsif url =~ %r{\Ahttps?://www\.deviantart\.com/([^/]+)/art/}
url
elsif url =~ %r{deviantart\.com/art/}
url
else