bgutil-ytdlp-pot-provider 1.3.0
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -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
|
||||
|
||||
2
Pipfile
2
Pipfile
@@ -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 = "*"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user