import nicobrowser.GetFlvResult;
import nicobrowser.NicoHttpClient;
import nicobrowser.ProgressListener;
+import nicobrowser.WayBackInfo;
import saccubus.ConvertStopFlag;
import saccubus.net.CommentInfo;
import saccubus.net.NicoClient;
import saccubus.util.FileUtil;
/**
- *
+ * NicoBrowserのニコニコ動画サービスアクセス機能をいんきゅばすから使用するためのアダプタ.
* @author yuki
*/
public class NicoBrowserAdapter implements NicoClient {
public File getComment(VideoInfo videoInfo, CommentInfo commentInfo, File file, TextProgressListener listener,
String com) {
try {
- // TODO CommentInfo を使用するようにしなければ
- return client.getCommentFile(nicoBrowserVi, file.getPath());
+ WayBackInfo wbi = new WayBackInfo(commentInfo.getWayBackKey(), commentInfo.getWayBackTime());
+ return client.getCommentFile(nicoBrowserVi, file.getPath(), wbi);
} catch (Exception ex) {
logger.log(Level.SEVERE, "コメント取得失敗", ex);
}