Add eh gallery spider
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user