diff --git a/pom.xml b/pom.xml index d79ec3d..e487c74 100644 --- a/pom.xml +++ b/pom.xml @@ -159,7 +159,7 @@ net.sourceforge.htmlunit htmlunit - 2.37.0 + 2.23 com.google.code.gson diff --git a/src/main/java/org/openaudible/audible/AudibleClient.java b/src/main/java/org/openaudible/audible/AudibleClient.java index 1edbb0c..feaa70d 100644 --- a/src/main/java/org/openaudible/audible/AudibleClient.java +++ b/src/main/java/org/openaudible/audible/AudibleClient.java @@ -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());