fixed issues with nc24(close #60);other improvements

This commit is contained in:
huangjx
2022-05-20 15:46:06 +08:00
parent 02fb165405
commit ac4aaa0c07
3 changed files with 30 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ class YoutubeController extends Controller
}
$yt->dbDlPath = Helper::getDownloadDir();
$resp = $yt->forceIPV4()->download($url);
folderScan::sync();
folderScan::sync(true);
return new JSONResponse($resp);
}
private function downloadUrlSite($url)