freyta / WWE-Network-Downloader

My own WWE downloader.
40 stars 13 forks source link

Feature Request - Batch File Support #18

Open kaywild opened 2 years ago

kaywild commented 2 years ago

Add support for processing a file containing multiple video URL's. Same functionality as the '--batch-file' option from yt-dlp.

ditmarvisser commented 2 years ago

I created a batch script for this purpose:

@Echo Off
For /F "usebackq tokens=1  delims=," %%a in (batchlist.csv) Do (
   echo Downloading %%a
   echo ============================
   python main.py -t %%a
   echo.
)
pause

Save this as batchdownload.bat (or whatever) and create a batchlist.cvs file with line terminated videos links like this:

https://watch.wwe.com/episode/Royal-Rumble-2015-1771
https://watch.wwe.com/episode/WrestleMania-31-1762
https://watch.wwe.com/episode/Royal-Rumble-2016-1776