OSDN Git Service

投稿者コメントの取得数は常に1000
authoryukihane <yukihane.feather@gmail.com>
Mon, 12 Sep 2011 05:42:14 +0000 (14:42 +0900)
committeryukihane <yukihane.feather@gmail.com>
Mon, 12 Sep 2011 05:42:14 +0000 (14:42 +0900)
src/nicobrowser/NicoHttpClient.java

index 65ab8b8..6863bc7 100644 (file)
@@ -845,7 +845,7 @@ public class NicoHttpClient {
      * @throws Exception 投稿者コメント取得失敗.
      */
     public File getTCommentFile(VideoInfo vi, String fileName) throws Exception {
-        return getCommentFile(vi, fileName, EnumSet.of(DownloadCommentType.OWNER), null, 1000);
+        return getCommentFile(vi, fileName, EnumSet.of(DownloadCommentType.OWNER), null, -1);
     }
 
     /**
@@ -877,7 +877,7 @@ public class NicoHttpClient {
             }
 
             if(types.contains(DownloadCommentType.OWNER)) {
-                final String param = createCommentDownloadParameter20101222(vi, true, wayback, commentNum);
+                final String param = createCommentDownloadParameter20101222(vi, true, wayback, 1000);
                 paramBuilder.append(param);
             }