下载器支持代理

This commit is contained in:
2022-10-13 23:28:04 +08:00
parent f0d61ffbb6
commit 1908c905ac
4 changed files with 18 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ public class Bangumi extends Model {
return;
}
for (String img : imgs) {
File file = HttpTools.syncDownload(img.replace("http://", "https://"), key + ".jpg");
File file = HttpTools.syncDownload(img.replace("http://", "https://"), key + ".jpg",false);
files.add(file);
send(imgs.size(), qq, text);
}