Fix tumblr: Error on non-post, non-tagged, non-root URLs

Closes #275
This commit is contained in:
4pr0n 2015-12-20 15:26:26 -08:00
parent 4ef66d067a
commit ee62463790

View File

@ -225,7 +225,7 @@ public class TumblrRipper extends AlbumRipper {
return this.subdomain + "_post_" + this.postNumber;
}
// Subdomain-level URL
p = Pattern.compile(DOMAIN_REGEX + ".*$");
p = Pattern.compile(DOMAIN_REGEX + "/?$");
m = p.matcher(url.toExternalForm());
if (m.matches()) {
this.albumType = ALBUM_TYPE.SUBDOMAIN;