diff --git a/main.py b/main.py index 13eeedb..03b49da 100644 --- a/main.py +++ b/main.py @@ -30,8 +30,10 @@ def clipTime(s,e): times=map(clipTime,startTimes,endTimes) for idx,t in enumerate(times): - trimCmd="yt-dlp -S quality,codec:avc:m4a "+"\""+args.url+"\""+t - trimCmd+=" --extractor-args \"youtube:getpot_bgutil_baseurl=https://yt-dlp-pot.44444444.xyz\"" + trimCmd="yt-dlp " + trimCmd+=" --extractor-args \"youtube:getpot_bgutil_baseurl=https://yt-dlp-pot.44444444.xyz\" " + trimCmd+=" -S quality,codec:avc:m4a "+"\""+args.url+"\""+t + #trimCmd+=" --cookies cookies.txt" trimCmd+=" -o temp/output"+str(idx)+".mp4" print(trimCmd)