修复短剧选集线路问题

This commit is contained in:
qlql765 2023-12-30 15:03:15 +08:00 committed by GitHub
parent bc40abe24a
commit 13c414bb31
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class Duanju extends Spider {
String detailUrl = ids.get(0); String detailUrl = ids.get(0);
Document doc = Jsoup.parse(OkHttp.string(detailUrl, getHeader())); Document doc = Jsoup.parse(OkHttp.string(detailUrl, getHeader()));
List<String> vodItems = new ArrayList<>(); List<String> vodItems = new ArrayList<>();
Elements sourceList = doc.select(".scroll-content a"); Elements sourceList = doc.select("[class=scroll-content] a");
for (Element a : sourceList) { for (Element a : sourceList) {
String episodeUrl = siteUrl + a.attr("href"); String episodeUrl = siteUrl + a.attr("href");
String episodeName = a.text(); String episodeName = a.text();