From 19533a17aa55fafc70d0a385928e785cb50e1ebc Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期五, 30 七月 2021 02:05:14 +0800 Subject: [PATCH] 爱奇艺视频更新 --- src/test/java/com/hxh/spring/test/video/RankTest.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/test/java/com/hxh/spring/test/video/RankTest.java b/src/test/java/com/hxh/spring/test/video/RankTest.java index 66cb669..790d2cf 100644 --- a/src/test/java/com/hxh/spring/test/video/RankTest.java +++ b/src/test/java/com/hxh/spring/test/video/RankTest.java @@ -1,5 +1,6 @@ package com.hxh.spring.test.video; +import com.google.gson.Gson; import com.yeshi.buwan.util.rank.IqiyiRankUtil; import com.yeshi.buwan.util.rank.MaoYanUtil; import org.junit.Test; @@ -7,6 +8,7 @@ import java.io.IOException; import java.util.List; +import java.util.Map; public class RankTest { @@ -31,7 +33,9 @@ @Test public void getIqiyiRank() { try { - IqiyiRankUtil.getRank(10); + Map<String, List<String>> map = IqiyiRankUtil.getRank(10); + String json = new Gson().toJson(map); + System.out.println(json); } catch (IOException e) { e.printStackTrace(); } -- Gitblit v1.8.0