#1866: Rewrite dA PRE thumbnails

This commit is contained in:
Toks
2013-12-24 16:59:04 -05:00
parent 4ddf8d5eab
commit 659e0b9457

View File

@@ -25,6 +25,9 @@ module Downloads
if url =~ %r{^(http://\w+.deviantart.net/\w+/)200H/}
match = $1
url.sub!(match + "200H/", match)
elsif url =~ %r{^(http://\w+.deviantart.net/\w+/)PRE/}
match = $1
url.sub!(match + "PRE/", match)
end
return [url, headers]