LinkCrawler:

-fixed regression

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49401 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: 14dbdb261f179f6d723f557495dd5ee4791507b5
This commit is contained in:
jiaz 2024-07-22 16:51:19 +00:00
parent 1f3dd6131b
commit ebb3061fbf

View File

@ -2827,7 +2827,7 @@ public class LinkCrawler {
protected String[] getMatchingLinks(Pattern pattern, CrawledLink source, CrawledLinkModifier modifier) {
final String[] ret = new Regex(source.getURL(), pattern).getColumn(-1);
if (ret == null || ret.length > 0) {
if (ret == null || ret.length == 0) {
return null;
}
for (int index = 0; index < ret.length; index++) {