Topic: SVPTube Optimisation with correct filename
Hi guys,
Here some lines to change in your svptube-dl.wsf for have the correct Title of the youtube movie as name of the downloaded mp4 :
Line 30 :
Replace
var videoURL,audioURL,subsURL;
By
var videoURL,audioURL,subsURL,varTitle;
Line 35 :
Replace
case 2: videoURL=WScript.Arguments(0); break;
by
case 2: videoURL=WScript.Arguments(0); varTitle=WScript.Arguments(3); break;
Line 56 :
Replace
fileName=WScript.Arguments(WScript.Arguments.length-1);
by
fileName=varTitle;
Enjoy