bgutil-ytdlp-pot-provider 1.3.0

This commit is contained in:
tcely
2026-03-02 11:21:49 -05:00
committed by GitHub
parent c94919ea64
commit d863a37879
4 changed files with 9 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# check=error=true
ARG BGUTIL_YTDLP_POT_PROVIDER_VERSION="1.2.2"
ARG BGUTIL_YTDLP_POT_PROVIDER_VERSION="1.3.0"
ARG FFMPEG_VERSION="N"
ARG YTDLP_EJS_VERSION="0.3.2"
@@ -611,12 +611,6 @@ RUN --mount=type=tmpfs,target=/cache \
uv --no-config --no-progress --no-managed-python \
pip install --strict --system --break-system-packages \
--requirements /cache/requirements.txt && \
# remove the getpot_bgutil_script plugin
find /usr/local/lib \
-name 'getpot_bgutil_script.py' \
-path '*/yt_dlp_plugins/extractor/getpot_bgutil_script.py' \
-type f -print -delete \
&& \
# Clean up
apt-get -y autoremove --purge \
default-libmysqlclient-dev \
@@ -676,8 +670,8 @@ RUN --mount=type=tmpfs,target=/cache \
mkdir -v -p /cache/.home-directories && \
cp -at /cache/.home-directories/ "${HOME}" && \
HOME="/cache/.home-directories/${HOME#/}" && \
DENO_COMPAT=1 deno run -A npm:npm ci --no-audit --no-fund && \
DENO_COMPAT=1 deno run -A npm:npm audit fix && \
DENO_COMPAT=1 deno run --no-config -A npm:npm ci --no-audit --no-fund && \
DENO_COMPAT=1 deno run --no-config -A npm:npm audit fix && \
node npm:typescript/tsc
# Build app

View File

@@ -24,6 +24,6 @@ yt-dlp = {extras = ["default", "curl-cffi"], version = "*"}
emoji = "*"
brotli = "*"
html5lib = "*"
bgutil-ytdlp-pot-provider = "~=1.2.2"
bgutil-ytdlp-pot-provider = "~=1.3.0"
yt-dlp-remote-cipher = "*"
babi = "*"

View File

@@ -21,10 +21,10 @@ command -v node > /dev/null || \
chown -R app:app .
s6-setuidgid app \
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run -A npm:npm ci --no-fund
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run --no-config -A npm:npm ci --no-fund
s6-setuidgid app \
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run -A npm:npm audit fix
env HOME="${tmp_app_home}" DENO_COMPAT=1 deno run --no-config -A npm:npm audit fix
s6-setuidgid app \
env HOME="${tmp_app_home}" ../node npm:typescript/tsc

View File

@@ -5,7 +5,7 @@
## YouTube Proof-of-Origin Token plugin
To generate tokens TubeSync is using a plugin for `yt-dlp` from:
* https://github.com/Brainicism/bgutil-ytdlp-pot-provider/tree/1.2.2/plugin/yt_dlp_plugins/extractor/
* https://github.com/Brainicism/bgutil-ytdlp-pot-provider/tree/1.3.0/plugin/yt_dlp_plugins/extractor/
#### Addition of plugin support
@@ -35,14 +35,14 @@ If you are using another web server instead, you should configure similar proxyi
#### Running the web service container the plugin communicates with
Docker image: `brainicism/bgutil-ytdlp-pot-provider:1.2.2`
Docker image: `brainicism/bgutil-ytdlp-pot-provider:1.3.0`
```sh
$ docker run -d \
--name bgutil-ytdlp-pot-service \
-p 4416:4416 \
--restart unless-stopped \
brainicism/bgutil-ytdlp-pot-provider:1.2.2
brainicism/bgutil-ytdlp-pot-provider:1.3.0
```
#### Configure the plugin using environment variables