Skip to content

Commit

Permalink
Release of Crawler4J 4.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rzo1 committed Aug 15, 2022
1 parent b5ff489 commit e9e27ff
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 40 deletions.
2 changes: 1 addition & 1 deletion crawler4j-boms/crawler4j-with-hsqldb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-boms</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crawler4j-boms/crawler4j-with-sleepycat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-boms</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion crawler4j-boms/crawler4j-with-urlfrontier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-boms</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion crawler4j-boms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-parent</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crawler4j-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-parent</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
package edu.uci.ics.crawler4j.crawler.authentication;

import java.util.Map;

import org.apache.hc.client5.http.auth.AuthScope;
import org.apache.hc.client5.http.auth.Credentials;

public interface CredentialsProvider {

void addCredentials(Map<AuthScope, Credentials> credentialsMap);

}
/*-
* #%L
* de.hs-heilbronn.mi:crawler4j-commons
* %%
* Copyright (C) 2010 - 2022 crawler4j-fork (pre-fork: Yasser Ganjisaffar)
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package edu.uci.ics.crawler4j.crawler.authentication;

import java.util.Map;

import org.apache.hc.client5.http.auth.AuthScope;
import org.apache.hc.client5.http.auth.Credentials;

public interface CredentialsProvider {

void addCredentials(Map<AuthScope, Credentials> credentialsMap);

}
2 changes: 1 addition & 1 deletion crawler4j-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-parent</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>

<artifactId>crawler4j-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
package edu.uci.ics.crawler4j.parser.css;

import javax.annotation.Nonnull;

import com.helger.css.handler.ICSSParseExceptionCallback;
import com.helger.css.parser.ParseException;

public class ThrowingCSSParseExceptionCallback implements ICSSParseExceptionCallback {

@Override
public void onException (@Nonnull final ParseException ex) {
throw new RuntimeException(ex);
}
}
/*-
* #%L
* de.hs-heilbronn.mi:crawler4j-core
* %%
* Copyright (C) 2010 - 2022 crawler4j-fork (pre-fork: Yasser Ganjisaffar)
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package edu.uci.ics.crawler4j.parser.css;

import javax.annotation.Nonnull;

import com.helger.css.handler.ICSSParseExceptionCallback;
import com.helger.css.parser.ParseException;

public class ThrowingCSSParseExceptionCallback implements ICSSParseExceptionCallback {

@Override
public void onException (@Nonnull final ParseException ex) {
throw new RuntimeException(ex);
}
}
2 changes: 1 addition & 1 deletion crawler4j-examples/crawler4j-examples-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>crawler4j-examples</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<artifactId>crawler4j-examples-base</artifactId>
<name>${project.groupId}:${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion crawler4j-examples/crawler4j-examples-postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>crawler4j-examples</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<name>${project.groupId}:${project.artifactId}</name>
<artifactId>crawler4j-examples-postgres</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion crawler4j-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>crawler4j-parent</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion crawler4j-frontier/crawler4j-frontier-hsqldb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-frontier</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crawler4j-frontier/crawler4j-frontier-sleepycat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-frontier</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crawler4j-frontier/crawler4j-frontier-urlfrontier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-frontier</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crawler4j-frontier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>crawler4j-parent</artifactId>
<groupId>de.hs-heilbronn.mi</groupId>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>de.hs-heilbronn.mi</groupId>
<artifactId>crawler4j-parent</artifactId>
<packaging>pom</packaging>
<version>4.10.1-SNAPSHOT</version>
<version>4.10.1</version>
<name>${project.groupId}:${project.artifactId}</name>

<description>Open Source Web Crawler for Java</description>
Expand Down

0 comments on commit e9e27ff

Please sign in to comment.