Support new 4chan url format

This commit is contained in:
Toks
2014-06-22 20:02:51 -04:00
parent e448e489e2
commit 3cdb9fe1c2

View File

@@ -89,7 +89,7 @@ module Downloads
end # def
def fix_image_board_sources
if source =~ /\/src\/\d{12,}|urnc\.yi\.org|yui\.cynthia\.bne\.jp/
if source =~ /i\.4cdn\.org|\/src\/\d{12,}|urnc\.yi\.org|yui\.cynthia\.bne\.jp/
@source = "Image board"
end
end