涩图模块:匹配正则

This commit is contained in:
Yutousama 2022-04-17 21:56:10 +08:00
parent 6c9bd5dc81
commit 5d05f279e8

View File

@ -84,6 +84,8 @@ public class GetSeTu extends Model {
for (Object tags : item.getJSONArray("tags")) { for (Object tags : item.getJSONArray("tags")) {
builder.append(tags).append(""); builder.append(tags).append("");
} }
System.out.println("json = " + json);
System.out.println("url = " + item.getJSONObject("urls").getString("original"));
HttpTools.download(item.getJSONObject("urls").getString("original"), HttpTools.download(item.getJSONObject("urls").getString("original"),
System.currentTimeMillis() + "_setu.jpg", System.currentTimeMillis() + "_setu.jpg",
true true