shorter filename for ytd downloads

This commit is contained in:
benson
2023-05-07 18:07:15 +08:00
parent 1059d8a4bc
commit e24e74c538

View File

@@ -16,7 +16,7 @@ class Ytdl
private $options = [];
private $downloadDir;
private $timeout = 60 * 60 * 10; //10 hours
private $outTpl = "%(id)s-%(title).64s.%(ext)s";
private $outTpl = "%(title).32s.%(ext)s";
private $defaultDir = "/tmp/downloads";
private $env = [];
private $bin;