mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
c60b4fb91e
commit
fd8d9e1b46
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ ob_end_flush();
|
|||
|
||||
function download($url, $filename, $path, $forceDownload = false) {
|
||||
if(empty($url) || preg_match('/view.img/', $url)){
|
||||
echo ("importChannel::download ERROR on url {$url}").PHP_EOL;
|
||||
return false;
|
||||
}
|
||||
$parts = explode("/{$filename}/", $url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue