diff --git a/dl.ps1 b/dl.ps1 index c4c12a5..67d93bf 100644 --- a/dl.ps1 +++ b/dl.ps1 @@ -1,6 +1,6 @@ -$Output = [int] (Get-ChildItem -Exclude *.ps1, *.txt, *.html, *.js, *.css | Select-Object BaseName -Last 1 | Select-Object -ExpandProperty BaseName) +$Output = [int] (Get-ChildItem -Exclude *.ps1, *.txt, *.html, *.js, *.css, *.exe | Select-Object BaseName -Last 1 | Select-Object -ExpandProperty BaseName) $Output++ $Output = $Output.ToString().PadLeft(5, '0') + ".mp4" -yt-dlp.exe $args[0] -o $Output - +# yt-dlp.exe --cookies-from-browser "vivaldi" $args[0] -o $Output +yt-dlp.exe $args[0] --recode-video mp4 -o $Output ./generate-max.ps1 \ No newline at end of file