zoomdl icon indicating copy to clipboard operation
zoomdl copied to clipboard

Allow multiple downloads

Open Battleman opened this issue 4 years ago • 2 comments

Allow to provide a filename to read from, with multiple URLs and names

Battleman avatar Mar 27 '20 14:03 Battleman

This would be great. Multiple downloads would be so convenient

jacobrosenfeld avatar Feb 16 '21 18:02 jacobrosenfeld

Since this feature doesn't yet exist, I made a powershell script to quickly support it. Assuming you have the executable in a folder, along with a cookies file and a text file with links (new line separated), the following should work:

foreach($line in Get-Content .\links.txt) {
    if ($line.Length -eq 0) {
        continue;
    }
    $command = ".\zoomdl.exe -d --save-chat srt --save-transcript srt --cookies .\cookies.txt -u $line"
    Invoke-Expression $command
}

Make modifications to the command if you need and then just pop that text into a powershell file (lets say script.ps1) and run it!

switchswap avatar May 12 '22 02:05 switchswap