Fixed naming bug in WordpressComicRipper.java

This commit is contained in:
cyian-1756 2017-03-28 22:24:42 -04:00
parent 78346bf1c4
commit e4897c0463

View File

@ -69,13 +69,13 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
return "totempole666.com" + "_" + "The_cummoner"; return "totempole666.com" + "_" + "The_cummoner";
} }
Pattern buttsmithyPat = Pattern.compile("https?://buttsmithy.com/archives/comic/([a-zA-Z0-9_-])/?$"); Pattern buttsmithyPat = Pattern.compile("https?://buttsmithy.com/archives/comic/([a-zA-Z0-9_-]*)/?$");
Matcher buttsmithyMat = buttsmithyPat.matcher(url.toExternalForm()); Matcher buttsmithyMat = buttsmithyPat.matcher(url.toExternalForm());
if (buttsmithyMat.matches()) { if (buttsmithyMat.matches()) {
return "totempole666.com" + "_" + "Alfie"; return "buttsmithy.com" + "_" + "Alfie";
} }
Pattern theMonsterUnderTheBedPat = Pattern.compile("https?://themonsterunderthebed.net/?comic=([a-zA-Z0-9_-])/?$"); Pattern theMonsterUnderTheBedPat = Pattern.compile("https?://themonsterunderthebed.net/?comic=([a-zA-Z0-9_-]*)/?$");
Matcher theMonsterUnderTheBedMat = theMonsterUnderTheBedPat.matcher(url.toExternalForm()); Matcher theMonsterUnderTheBedMat = theMonsterUnderTheBedPat.matcher(url.toExternalForm());
if (theMonsterUnderTheBedMat.matches()) { if (theMonsterUnderTheBedMat.matches()) {
return "themonsterunderthebed.net_TheMonsterUnderTheBed"; return "themonsterunderthebed.net_TheMonsterUnderTheBed";