1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

fixDummyfiles

This commit is contained in:
DanieL 2022-04-07 18:30:27 -03:00
parent 5cf13d0739
commit 8b4293b78d

View file

@ -102,8 +102,8 @@ while($hasNewContent){
download($value->images->poster, $value->filename, $path);
download($value->images->thumbsGif, $value->filename, $path);
foreach ($value->videos->mp4 as $value2) {
_error_log("importChannel: key = {$key} APIURL = $APIURL");
foreach ($value->videos->mp4 as $key2=>$value2) {
_error_log("importChannel: key = {$key} key2 = {$key2} APIURL = $APIURL");
download($value2, $value->filename, $path);
}
$video->setStatus(Video::$statusActive);