Fix doll img
This commit is contained in:
parent
b5ece8d1fb
commit
c081166e8f
|
|
@ -37,7 +37,7 @@ public class Doll extends Spider {
|
||||||
for (Element div : doc.select("div.video-detail")) {
|
for (Element div : doc.select("div.video-detail")) {
|
||||||
String id = div.select("h3.video-title > a").attr("href").replace(url, "");
|
String id = div.select("h3.video-title > a").attr("href").replace(url, "");
|
||||||
String name = div.select("h3.video-title > a").text();
|
String name = div.select("h3.video-title > a").text();
|
||||||
String pic = url + div.select("div.thumb > a > img").attr("data-src");
|
String pic = div.select("div.thumb > a > img").attr("data-src");
|
||||||
String remark = div.select("div.date").text();
|
String remark = div.select("div.date").text();
|
||||||
list.add(new Vod(id, name, pic, remark));
|
list.add(new Vod(id, name, pic, remark));
|
||||||
}
|
}
|
||||||
|
|
@ -52,7 +52,7 @@ public class Doll extends Spider {
|
||||||
for (Element div : doc.select("div.video-detail")) {
|
for (Element div : doc.select("div.video-detail")) {
|
||||||
String id = div.select("h3.video-title > a").attr("href").replace(url, "");
|
String id = div.select("h3.video-title > a").attr("href").replace(url, "");
|
||||||
String name = div.select("h3.video-title > a").text();
|
String name = div.select("h3.video-title > a").text();
|
||||||
String pic = url + div.select("div.thumb > a > img").attr("data-src");
|
String pic = div.select("div.thumb > a > img").attr("data-src");
|
||||||
String remark = div.select("div.date").text();
|
String remark = div.select("div.date").text();
|
||||||
list.add(new Vod(id, name, pic, remark));
|
list.add(new Vod(id, name, pic, remark));
|
||||||
}
|
}
|
||||||
|
|
@ -117,7 +117,7 @@ public class Doll extends Spider {
|
||||||
for (Element div : doc.select("div.video-detail")) {
|
for (Element div : doc.select("div.video-detail")) {
|
||||||
String id = div.select("h3.video-title > a").attr("href").replace(url, "");
|
String id = div.select("h3.video-title > a").attr("href").replace(url, "");
|
||||||
String name = div.select("h3.video-title > a").text();
|
String name = div.select("h3.video-title > a").text();
|
||||||
String pic = url + div.select("div.thumb > a > img").attr("data-src");
|
String pic = div.select("div.thumb > a > img").attr("data-src");
|
||||||
String remark = div.select("div.date").text();
|
String remark = div.select("div.date").text();
|
||||||
list.add(new Vod(id, name, pic, remark));
|
list.add(new Vod(id, name, pic, remark));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
e727f2c84004481b19e7026ef9fff24d
|
6a77140c25470026f08522e50103cf8d
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue