import java.text.Normalizer;
import saccubus.ConvertStopFlag;
import saccubus.converter.profile.Proxy;
+import saccubus.net.CommentInfo;
import saccubus.net.NicoClient;
import saccubus.net.NicoClientImpl;
import saccubus.net.VideoInfo;
private final NicoClient client;
private final VideoInfo videoInfo;
+ private final CommentInfo commentInfo;
WebFileInstanciator(
ConvertStopFlag stopFlag,
}
try {
- videoInfo = client.getVideoInfo(tag, time);
+ videoInfo = client.getVideoInfo(tag);
+ commentInfo = client.getWayBackKey(videoInfo, time);
+
} catch (IOException ex) {
throw new IOException(tag + "の情報の取得に失敗", ex);
}
}
if (commentType.isDoanload()) {
- setCommentFileGetter(new CommentFileWebGetter(client, videoInfo, commentType.isAutoCommentNum(),
+ setCommentFileGetter(new CommentFileWebGetter(client, videoInfo, commentInfo, commentType.isAutoCommentNum(),
commentType.getBackComment()));
}