admin
2021-04-08 d7a3014c38dbb1061cba70e7dbb49d58831e6399
src/main/java/com/yeshi/buwan/sohu/SoHuUtil.java
@@ -69,7 +69,7 @@
   }
   public static List<Integer> getSecondCategory(int scode) {
      List<Integer> list = new ArrayList<Integer>();
      List<Integer> list = new ArrayList<>();
      switch (scode) {
      // 电视剧
@@ -566,7 +566,7 @@
   @SuppressWarnings("unchecked")
   public void parseAll() {
      List<RootCategory> list =new ArrayList<RootCategory>(); //SoHuApi.rootCategoryList();
      List<RootCategory> list =new ArrayList<>(); //SoHuApi.rootCategoryList();
      RootCategory rc = new RootCategory();
      rc.setCateId(9004);
      list.add(rc);
@@ -617,7 +617,7 @@
                              sa.setTip(svc.getTip());
                              String c = SoHuApi.getVideoList(sa.getAid(), 1, 20).get("count") + "";
                              if (!StringUtil.isNullOrEmpty(c)) {
                                 List<SoHuVideo> vlist = new ArrayList<SoHuVideo>();
                                 List<SoHuVideo> vlist = new ArrayList<>();
                                 for (int p = 1; p < Integer.parseInt(c) / 50 + 2; p++) {
                                    List<SoHuVideo> videoList = (List<SoHuVideo>) SoHuApi
                                          .getVideoList(sa.getAid(), p, 50).get("data");