freyta / WWE-Network-Downloader

My own WWE downloader.
38 stars 12 forks source link

Feature Request - Batch File Support #18

Open kaywild opened 1 year ago

kaywild commented 1 year ago

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

ditmarvisser commented 1 year 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