| | |
| | | System.out.println(simple.getName() + ":" + simple.getId()); |
| | | try { |
| | | YouKuShowDetail detail = getShowDetail(simple.getId()); |
| | | youKuService.save(detail); |
| | | youKuService.addToInternetSearch(detail); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | |
| | | "电影", "电视剧", "动漫", "综艺" |
| | | }; |
| | | if (!StringUtil.isNullOrEmpty(param)) { |
| | | updateCategory(param); |
| | | if (param.length() < 10) { |
| | | updateCategory(param); |
| | | } else { |
| | | String[] ids = param.split(","); |
| | | for (String id : ids) { |
| | | YouKuShowDetail detail = getShowDetail(id); |
| | | youKuService.addToInternetSearch(detail); |
| | | } |
| | | } |
| | | } else { |
| | | for (String type : types) { |
| | | updateCategory(type); |