Skip to content

Commit d863a37

Browse files
authored
bgutil-ytdlp-pot-provider 1.3.0
1 parent c94919e commit d863a37

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
ARG BGUTIL_YTDLP_POT_PROVIDER_VERSION="1.2.2"
4+
ARG BGUTIL_YTDLP_POT_PROVIDER_VERSION="1.3.0"
55
ARG FFMPEG_VERSION="N"
66
ARG YTDLP_EJS_VERSION="0.3.2"
77

@@ -611,12 +611,6 @@ RUN --mount=type=tmpfs,target=/cache \
611611
uv --no-config --no-progress --no-managed-python \
612612
pip install --strict --system --break-system-packages \
613613
--requirements /cache/requirements.txt && \
614-
# remove the getpot_bgutil_script plugin
615-
find /usr/local/lib \
616-
-name 'getpot_bgutil_script.py' \
617-
-path '*/yt_dlp_plugins/extractor/getpot_bgutil_script.py' \
618-
-type f -print -delete \
619-
&& \
620614
# Clean up
621615
apt-get -y autoremove --purge \
622616
default-libmysqlclient-dev \
@@ -676,8 +670,8 @@ RUN --mount=type=tmpfs,target=/cache \
676670
mkdir -v -p /cache/.home-directories && \
677671
cp -at /cache/.home-directories/ "${HOME}" && \
678672
HOME="/cache/.home-directories/${HOME#/}" && \
679-
DENO_COMPAT=1 deno run -A npm:npm ci --no-audit --no-fund && \
680-
DENO_COMPAT=1 deno run -A npm:npm audit fix && \
673+
DENO_COMPAT=1 deno run --no-config -A npm:npm ci --no-audit --no-fund && \
674+
DENO_COMPAT=1 deno run --no-config -A npm:npm audit fix && \
681675
node npm:typescript/tsc
682676

683677
# Build app

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ yt-dlp = {extras = ["default", "curl-cffi"], version = "*"}
2424
emoji = "*"
2525
brotli = "*"
2626
html5lib = "*"
27-
bgutil-ytdlp-pot-provider = "~=1.2.2"
27+
bgutil-ytdlp-pot-provider = "~=1.3.0"
2828
yt-dlp-remote-cipher = "*"
2929
babi = "*"

config/root/etc/s6-overlay/s6-rc.d/bgutil-ytdlp-pot-provider-build/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ command -v node > /dev/null || \
2121
chown -R app:app .
2222

2323
s6-setuidgid app \
24-
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run -A npm:npm ci --no-fund
24+
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run --no-config -A npm:npm ci --no-fund
2525

2626
s6-setuidgid app \
27-
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run -A npm:npm audit fix
27+
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run --no-config -A npm:npm audit fix
2828

2929
s6-setuidgid app \
3030
env HOME="${tmp_app_home}" ../node npm:typescript/tsc

docs/youtube-pot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## YouTube Proof-of-Origin Token plugin
66

77
To generate tokens TubeSync is using a plugin for `yt-dlp` from:
8-
* https://github.com/Brainicism/bgutil-ytdlp-pot-provider/tree/1.2.2/plugin/yt_dlp_plugins/extractor/
8+
* https://github.com/Brainicism/bgutil-ytdlp-pot-provider/tree/1.3.0/plugin/yt_dlp_plugins/extractor/
99

1010
#### Addition of plugin support
1111

@@ -35,14 +35,14 @@ If you are using another web server instead, you should configure similar proxyi
3535
3636
#### Running the web service container the plugin communicates with
3737
38-
Docker image: `brainicism/bgutil-ytdlp-pot-provider:1.2.2`
38+
Docker image: `brainicism/bgutil-ytdlp-pot-provider:1.3.0`
3939
4040
```sh
4141
$ docker run -d \
4242
--name bgutil-ytdlp-pot-service \
4343
-p 4416:4416 \
4444
--restart unless-stopped \
45-
brainicism/bgutil-ytdlp-pot-provider:1.2.2
45+
brainicism/bgutil-ytdlp-pot-provider:1.3.0
4646
```
4747
4848
#### Configure the plugin using environment variables

0 commit comments

Comments
 (0)