修复查动画无法保存图片的问题

This commit is contained in:
Yutousama 2022-04-08 17:07:48 +08:00
parent d56e237b62
commit bcba637ad5

View File

@ -43,6 +43,7 @@ public class Bangumi extends Model {
List<String> infos = null;
try {
int id = Integer.parseInt(msg.replace(QQGroupCommands.QQ_BANGUMI_SUB, "").trim());
QQBotManager.getInstance().sendMessage(qq,"获取中...");
infos = BangumiTools.reportBangumiInfo(id);
} catch (Exception e) {
String key = msg.replace(QQGroupCommands.QQ_BANGUMI_SUB, "").trim();
@ -82,7 +83,7 @@ public class Bangumi extends Model {
return;
}
for (String img : imgs) {
HttpTools.download(img,null, new DownloadInterface() {
HttpTools.download(img,img+".png", new DownloadInterface() {
@Override
public void onDownload(File file) {
super.onDownload(file);