[DOCKER] Update yt-dlp, fix phantomjs (#1240)
Bumps [yt-dlp[default]](https://github.com/yt-dlp/yt-dlp) from 2025.5.22 to 2025.6.9. - [Release notes](https://github.com/yt-dlp/yt-dlp/releases) - [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md) - [Commits](https://github.com/yt-dlp/yt-dlp/compare/2025.05.22...2025.06.09) Also fixes phantomjs in docker builds
This commit is contained in:
parent
cc85e18d43
commit
faf9fd8a10
5 changed files with 14 additions and 13 deletions
|
|
@ -30,11 +30,12 @@ RUN mkdir -p /config && \
|
||||||
aria2c --version && \
|
aria2c --version && \
|
||||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||||
|
echo "installing phantomjs" && \
|
||||||
apk add --no-cache gcompat && \
|
apk add --no-cache gcompat && \
|
||||||
cd /usr/share && \
|
tar -xjvf /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar xj && \
|
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/share/phantomjs && \
|
||||||
mv /usr/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs phantomjs && \
|
rm -rf phantomjs-2.1.1-linux-x86_64 && \
|
||||||
rm -rf /usr/share/phantomjs-2.1.1-linux-x86_64 && \
|
rm /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
ln -s /usr/share/phantomjs /usr/bin/phantomjs && \
|
ln -s /usr/share/phantomjs /usr/bin/phantomjs && \
|
||||||
echo "Phantom JS version:" && \
|
echo "Phantom JS version:" && \
|
||||||
phantomjs --version && \
|
phantomjs --version && \
|
||||||
|
|
|
||||||
|
|
@ -51,11 +51,11 @@ RUN mkdir -p /config && \
|
||||||
ffmpeg -version && \
|
ffmpeg -version && \
|
||||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||||
curl -L -o phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
echo "installing phantomjs" && \
|
||||||
tar -xvf phantomjs.tar.bz2 && \
|
tar -xjvf /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
||||||
rm -rf phantomjs-2.1.1-linux-x86_64/ && \
|
rm -rf phantomjs-2.1.1-linux-x86_64 && \
|
||||||
rm phantomjs.tar.bz2 && \
|
rm /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
echo "Phantom JS version:" && \
|
echo "Phantom JS version:" && \
|
||||||
phantomjs --version ; \
|
phantomjs --version ; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|
|
||||||
|
|
@ -54,11 +54,11 @@ RUN mkdir -p /config && \
|
||||||
ffmpeg -version && \
|
ffmpeg -version && \
|
||||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||||
curl -L -o phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
echo "installing phantomjs" && \
|
||||||
tar -xvf phantomjs.tar.bz2 && \
|
tar -xjvf /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
||||||
rm -rf phantomjs-2.1.1-linux-x86_64/ && \
|
rm -rf phantomjs-2.1.1-linux-x86_64 && \
|
||||||
rm phantomjs.tar.bz2 && \
|
rm /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
echo "Phantom JS version:" && \
|
echo "Phantom JS version:" && \
|
||||||
phantomjs --version ; \
|
phantomjs --version ; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|
|
||||||
BIN
docker/root/defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2
Normal file
BIN
docker/root/defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2
Normal file
Binary file not shown.
|
|
@ -15,7 +15,7 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"yt-dlp[default]==2025.5.22",
|
"yt-dlp[default]==2025.6.9",
|
||||||
"colorama~=0.4",
|
"colorama~=0.4",
|
||||||
"mergedeep~=1.3",
|
"mergedeep~=1.3",
|
||||||
"mediafile~=0.12",
|
"mediafile~=0.12",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue