This commit is contained in:
r888888888
2015-03-05 17:58:00 -08:00
parent 6704c21fdb
commit b353b21c53

View File

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