fix html unit compile error
This commit is contained in:
parent
05517cb288
commit
2fda9acada
2 changed files with 2 additions and 2 deletions
2
pom.xml
2
pom.xml
|
@ -159,7 +159,7 @@
|
|||
<dependency>
|
||||
<groupId>net.sourceforge.htmlunit</groupId>
|
||||
<artifactId>htmlunit</artifactId>
|
||||
<version>2.37.0</version>
|
||||
<version>2.23</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
|
|
|
@ -35,7 +35,7 @@ public class AudibleClient extends WebClient {
|
|||
public static String swtWindows = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; Trident/7.0; rv:11.0) like Gecko";
|
||||
|
||||
public AudibleClient() {
|
||||
super(BrowserVersion.BEST_SUPPORTED);
|
||||
super();
|
||||
this.getOptions().setThrowExceptionOnScriptError(false);
|
||||
this.getOptions().setMaxInMemory(1024 * 1024);
|
||||
assert (this.getOptions().isRedirectEnabled());
|
||||
|
|
Loading…
Reference in a new issue