Skip to content

Commit

Permalink
签名的更新
Browse files Browse the repository at this point in the history
  • Loading branch information
rongdu.huang committed Jul 9, 2020
1 parent 25c1363 commit f8f92cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
14 changes: 10 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@ android {
}
signingConfigs {
release {
storeFile file(".key.jks")
storePassword System.getenv("KEYSTORE_PASS")
keyAlias System.getenv("ALIAS_NAME")
keyPassword System.getenv("ALIAS_PASS")
storeFile file("../hellovr10.jks")
storePassword '123456'
keyAlias 'vr'
keyPassword '123456'
}
debug {
storeFile file("../hellovr10.jks")
storePassword '123456'
keyAlias 'vr'
keyPassword '123456'
}
}
buildTypes {
Expand Down
12 changes: 6 additions & 6 deletions app/src/main/java/com/hiroshi/cimoc/source/TuHao.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ public TuHao(Source source) {
public Request getSearchRequest(String keyword, int page) throws UnsupportedEncodingException {
String url = "";
if (page == 1) {
url = StringUtils.format("https://m.tohomh123.com/action/Search?keyword=%s", keyword);
url = StringUtils.format("https://www.toho8.cn/action/Search?keyword=%s", keyword);
}
return new Request.Builder().url(url).build();
}

@Override
public String getUrl(String cid) {
return "https://m.tohomh123.com/".concat(cid).concat("/");
return "https://www.toho8.cn/".concat(cid).concat("/");
}

@Override
protected void initUrlFilterList() {
filter.add(new UrlFilter("m.tohomh123.com", "\\w+", 0));
filter.add(new UrlFilter("www.toho8.cn", "\\w+", 0));
}

@Override
Expand All @@ -72,7 +72,7 @@ protected Comic parse(Node node) {

@Override
public Request getInfoRequest(String cid) {
String url = "https://m.tohomh123.com/".concat(cid).concat("/");
String url = "https://www.toho8.cn/".concat(cid).concat("/");
return new Request.Builder().url(url).build();
}

Expand Down Expand Up @@ -113,7 +113,7 @@ public List<Chapter> parseChapter(String html) {

@Override
public Request getImagesRequest(String cid, String path) {
String url = StringUtils.format("https://m.tohomh123.com/%s/%s.html", cid, path);
String url = StringUtils.format("https://www.toho8.cn/%s/%s.html", cid, path);
return new Request.Builder().url(url).build();
}

Expand Down Expand Up @@ -166,7 +166,7 @@ public String parseCheck(String html) {

@Override
public Headers getHeader() {
return Headers.of("Referer", "https://m.tohomh123.com");
return Headers.of("Referer", "https://www.toho8.cn");
}

}
Binary file added hellovr10.jks
Binary file not shown.

0 comments on commit f8f92cd

Please sign in to comment.