This commit is contained in:
Toks
2015-06-13 10:56:27 -04:00
parent 203b287b32
commit 7360fc4633

View File

@@ -12,7 +12,7 @@ module Downloads
protected
def rewrite_thumbnails(url, headers)
if url =~ %r{^http?://.+\.tumblr\.com/(?:\w+/)?(?:tumblr_)?(\w+_)(\d+)\..+$}
if url =~ %r{^https?://.+\.tumblr\.com/(?:\w+/)?(?:tumblr_)?(\w+_)(\d+)\..+$}
match = $1
given_size = $2