tujidelv hai 1 ano
pai
achega
e4c29c4efc

+ 1 - 1
src/main/java/top/lvzhiqiang/config/MyJavJobs.java

@@ -161,7 +161,7 @@ public class MyJavJobs {
     /**
      * 每隔一小时执行一次 jsoupJavbusProfile
      */
-    @Scheduled(cron = "0 0 * * * ?", zone = SCHEDULED_ZONE)
+    // @Scheduled(cron = "0 0 * * * ?", zone = SCHEDULED_ZONE)
     public void jsoupJavbusProfileJob() throws Exception {
         log.warn("jsoupJavbusProfileJob开始==============================");
 

+ 5 - 0
src/main/java/top/lvzhiqiang/service/impl/BgServiceImpl.java

@@ -1978,6 +1978,11 @@ public class BgServiceImpl implements BgService {
         // 名称
         videoInfo.setName(videoDetail.select("h2.title").select("strong.current-title").text().trim());
 
+        Elements originTitle = videoDetail.select("h2.title").select("span.origin-title");
+        if (originTitle.size() > 0) {
+            videoInfo.setName(originTitle.text().trim());
+        }
+
         Elements moviePanelInfos = videoDetail.select("nav.movie-panel-info");
         Element pEle = moviePanelInfos.get(0);
         // 识别码

+ 1 - 0
src/main/resources/static/bg.html

@@ -248,6 +248,7 @@
             <select name="status" style="height: 21.43px;">
                 <option value="1">未爬取</option>
                 <option value="3">爬取失败</option>
+                <option value="2">爬取成功</option>
             </select>
             <span>url</span>
             <input type="text" name="url" placeholder="https://javdb.com/v/?"/>