From f537abe9f3646c739beaf15076246a2f71a347e9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 20 二月 2025 16:57:55 +0800 Subject: [PATCH] IOS广告增加区域屏蔽 --- src/test/java/com/hxh/spring/test/Iqiyi2.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/test/java/com/hxh/spring/test/Iqiyi2.java b/src/test/java/com/hxh/spring/test/Iqiyi2.java index af8d32a..25dc637 100644 --- a/src/test/java/com/hxh/spring/test/Iqiyi2.java +++ b/src/test/java/com/hxh/spring/test/Iqiyi2.java @@ -150,7 +150,17 @@ @Test public void test6() { try { - iqiyi2VideoUpdate.updateVideoByPlayerUrl("https://www.iqiyi.com/v_u3d4t2dr7o.html?vfrm=pcw_dianshiju&vfrmblk=B&vfrmrst=fcs_2_p2"); + String aid = IqiYiNewAPI.getAidByUrl("https://www.iqiyi.com/v_1dik1x5t2pw.html"); + Long qikuID = Long.parseLong(aid); + try { + IqiyiAlbum2 album2 = iqiyi2Service.selectAlbumById(qikuID); + if (album2 != null) { + iqiyi2Service.addToVideoInfo(album2); + } + } catch (Exception e) { + throw e; + } + } catch (Exception e) { e.printStackTrace(); } -- Gitblit v1.8.0