Add eh gallery spider

This commit is contained in:
seven332 committed 2016-02-19 22:53:24 +08:00
1 parent 6f37491471
commit 31ffa6f8a9
43 files changed
+2337 -180

No files matched your search

@@ -19,13 +19,15 @@ package com.hippo.ehviewer.client;
import com.hippo.ehviewer.Settings;
import com.hippo.okhttp.ChromeRequestBuilder;
import java.net.MalformedURLException;
public class EhRequestBuilder extends ChromeRequestBuilder {
public EhRequestBuilder(String url) {
public EhRequestBuilder(String url) throws MalformedURLException {
this(url, Settings.getEhConfig());
}
public EhRequestBuilder(String url, EhConfig ehConfig) {
public EhRequestBuilder(String url, EhConfig ehConfig) throws MalformedURLException {
super(url);
tag(ehConfig);
}