涩图模块:匹配正则
This commit is contained in:
parent
6c9bd5dc81
commit
5d05f279e8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user