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