bgutil-ytdlp-pot-provider 1.3.0
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
# check=error=true
|
# 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 FFMPEG_VERSION="N"
|
||||||
ARG YTDLP_EJS_VERSION="0.3.2"
|
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 \
|
uv --no-config --no-progress --no-managed-python \
|
||||||
pip install --strict --system --break-system-packages \
|
pip install --strict --system --break-system-packages \
|
||||||
--requirements /cache/requirements.txt && \
|
--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
|
# Clean up
|
||||||
apt-get -y autoremove --purge \
|
apt-get -y autoremove --purge \
|
||||||
default-libmysqlclient-dev \
|
default-libmysqlclient-dev \
|
||||||
@@ -676,8 +670,8 @@ RUN --mount=type=tmpfs,target=/cache \
|
|||||||
mkdir -v -p /cache/.home-directories && \
|
mkdir -v -p /cache/.home-directories && \
|
||||||
cp -at /cache/.home-directories/ "${HOME}" && \
|
cp -at /cache/.home-directories/ "${HOME}" && \
|
||||||
HOME="/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 --no-config -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 audit fix && \
|
||||||
node npm:typescript/tsc
|
node npm:typescript/tsc
|
||||||
|
|
||||||
# Build app
|
# Build app
|
||||||
|
|||||||
2
Pipfile
2
Pipfile
@@ -24,6 +24,6 @@ yt-dlp = {extras = ["default", "curl-cffi"], version = "*"}
|
|||||||
emoji = "*"
|
emoji = "*"
|
||||||
brotli = "*"
|
brotli = "*"
|
||||||
html5lib = "*"
|
html5lib = "*"
|
||||||
bgutil-ytdlp-pot-provider = "~=1.2.2"
|
bgutil-ytdlp-pot-provider = "~=1.3.0"
|
||||||
yt-dlp-remote-cipher = "*"
|
yt-dlp-remote-cipher = "*"
|
||||||
babi = "*"
|
babi = "*"
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ command -v node > /dev/null || \
|
|||||||
chown -R app:app .
|
chown -R app:app .
|
||||||
|
|
||||||
s6-setuidgid 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 \
|
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 \
|
s6-setuidgid app \
|
||||||
env HOME="${tmp_app_home}" ../node npm:typescript/tsc
|
env HOME="${tmp_app_home}" ../node npm:typescript/tsc
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
## YouTube Proof-of-Origin Token plugin
|
## YouTube Proof-of-Origin Token plugin
|
||||||
|
|
||||||
To generate tokens TubeSync is using a plugin for `yt-dlp` from:
|
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
|
#### 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
|
#### 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
|
```sh
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
--name bgutil-ytdlp-pot-service \
|
--name bgutil-ytdlp-pot-service \
|
||||||
-p 4416:4416 \
|
-p 4416:4416 \
|
||||||
--restart unless-stopped \
|
--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
|
#### Configure the plugin using environment variables
|
||||||
|
|||||||
Reference in New Issue
Block a user