admin
2021-12-24 b5e19564dcbf1b7ec12946209d74313479f9dfe1
src/main/java/com/yeshi/buwan/videos/hanmi/HanmiApiUtil.java
@@ -141,7 +141,7 @@
                            indexOf("(") : infos.get("首播").
                            length()));
        if (infos.get("上映日期") != null)
        if (infos.get("上映日期") != null) {
            show.setRelaseDate(infos.get("上映日期").
                    substring(0, infos.get("上映日期").
@@ -151,6 +151,7 @@
                            indexOf("(") : infos.get("上映日期").
                            length()));
        }
        if (year == null && show.getRelaseDate() != null) {
@@ -159,6 +160,10 @@
        show.setYear(year.replace("(", "").
                replace(")", ""));
        if (show.getYear() != null && show.getRelaseDate() == null) {
            show.setRelaseDate(show.getYear() + "-01-01");
        }
        show.setId(show.getUrl().
@@ -250,6 +255,9 @@
        List<HanmiShow> list = new ArrayList<>();
        for (HanmiShow show : showList) {
            try {
                if (!show.getUrl().startsWith("http")) {
                    show.setUrl("https://www.hmtv.me" + show.getUrl());
                }
                list.add(parseShowDetail(show));
            } catch (Exception e) {
                e.printStackTrace();