import java.text.Normalizer;
import org.apache.commons.lang.StringUtils;
import saccubus.ConvertStopFlag;
-import saccubus.converter.profile.Proxy;
import saccubus.net.CommentInfo;
import saccubus.net.NicoClient;
import saccubus.net.VideoInfo;
import saccubus.util.WayBackTimeParser;
import yukihane.inqubus.saccubus_adapter.NicoBrowserAdapter;
+import yukihane.saccubus.converter.profile.Proxy;
+import yukihane.saccubus.converter.profile.LoginInfo;
/**
* 動画ファイル, コメントファイルなど必要なファイルのうち, 1つでもダウンロード処理を必要とする場合のインスタンス化クラス.
CommentInstanciationType commentType,
InstanciationType tcommType,
LoginInfo li,
+ Proxy proxy,
String tag,
String time) throws IOException {
super(videoType, commentType, tcommType, tag);
String host;
int port;
- if (li.getProxy() != Proxy.NO_PROXY) {
- host = li.getProxy().getHost();
- port = li.getProxy().getPort();
+ if (proxy.use()) {
+ host = proxy.getHost();
+ port = proxy.getPort();
} else {
host = null;
port = -1;