Fix Finebox ripper
This commit is contained in:
parent
feb82b2dc5
commit
1b9eea8499
@ -53,12 +53,12 @@ public class FineboxRipper extends AlbumRipper {
|
|||||||
}
|
}
|
||||||
Elements videos = doc.select("video");
|
Elements videos = doc.select("video");
|
||||||
for (Element element : videos) {
|
for (Element element : videos) {
|
||||||
String videourl = element.attr("src");
|
String videourl = element.select("source").attr("src");
|
||||||
if(videourl.substring(0,4)!="http"){
|
if (!videourl.startsWith("http")) {
|
||||||
videourl = "http://"+DOMAIN+ videourl;
|
videourl = "http://" + DOMAIN + videourl;
|
||||||
}
|
}
|
||||||
logger.error("URL to download: " + videourl);
|
logger.info("URL to download: " + videourl);
|
||||||
if(!addURLToDownload(new URL(videourl))){
|
if (!addURLToDownload(new URL(videourl))) {
|
||||||
hasPagesLeft = false;
|
hasPagesLeft = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user