Skip to content

Commit

Permalink
change pot provider
Browse files Browse the repository at this point in the history
  • Loading branch information
RnJ4 committed Sep 22, 2024
1 parent 92a9272 commit 8101450
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/clip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12

- name: Set up POT provider
run: |
docker run --name bgutil-provider -d -p 4416:4416 brainicism/bgutil-ytdlp-pot-provider
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def clipTime(s,e):
times=map(clipTime,startTimes,endTimes)
for idx,t in enumerate(times):
trimCmd="yt-dlp "
trimCmd+=" --extractor-args \"youtube:getpot_bgutil_baseurl=https://yt-dlp-pot.44444444.xyz\" "
#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"
Expand Down

0 comments on commit 8101450

Please sign in to comment.