*/
public URL getFlvUrl(String videoID) throws IOException {
String accessUrl = GET_FLV_INFO + videoID;
+ log.debug("アクセス: " + accessUrl);
HttpGet get = new HttpGet(accessUrl);
String resultString;
BufferedReader reader = null;
}
resultString = strBuilder.toString();
response.getEntity().consumeContent();
+ log.debug(resultString);
} finally {
if (reader != null) {
reader.close();
URISyntaxException, HttpException, InterruptedException {
byte[] buffer = new byte[1024 * 32];
final String watchUrl = "http://www.nicovideo.jp/watch/" + videoID;
+ log.debug("アクセス: " + watchUrl);
HttpGet get = new HttpGet(watchUrl);
HttpResponse response = execute(get);
response.getEntity().consumeContent();