nijie: normalize all thumbnail urls (#3919).

This commit is contained in:
evazion
2018-09-23 18:45:08 -05:00
parent d294514dc0
commit 5525bbe1ca
3 changed files with 32 additions and 23 deletions

View File

@@ -125,7 +125,7 @@ module Sources
end
def normalize_thumbnails(x)
x.gsub(%r!__rs_l120x120/!i, "")
x.gsub(%r!__rs_\w+/!i, "")
end
def illust_id