Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
RnJ4 committed Sep 22, 2024
1 parent f4d7a38 commit 20c705c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20c705c

Please sign in to comment.