[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 && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||
echo "installing phantomjs" && \
|
||||
apk add --no-cache gcompat && \
|
||||
cd /usr/share && \
|
||||
curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar xj && \
|
||||
mv /usr/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs phantomjs && \
|
||||
rm -rf /usr/share/phantomjs-2.1.1-linux-x86_64 && \
|
||||
tar -xjvf /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/share/phantomjs && \
|
||||
rm -rf 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 && \
|
||||
echo "Phantom JS version:" && \
|
||||
phantomjs --version && \
|
||||
|
|
|
|||
|
|
@ -51,11 +51,11 @@ RUN mkdir -p /config && \
|
|||
ffmpeg -version && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
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 && \
|
||||
tar -xvf phantomjs.tar.bz2 && \
|
||||
echo "installing phantomjs" && \
|
||||
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 && \
|
||||
rm -rf phantomjs-2.1.1-linux-x86_64/ && \
|
||||
rm phantomjs.tar.bz2 && \
|
||||
rm -rf phantomjs-2.1.1-linux-x86_64 && \
|
||||
rm /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
echo "Phantom JS version:" && \
|
||||
phantomjs --version ; \
|
||||
fi && \
|
||||
|
|
|
|||
|
|
@ -54,11 +54,11 @@ RUN mkdir -p /config && \
|
|||
ffmpeg -version && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
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 && \
|
||||
tar -xvf phantomjs.tar.bz2 && \
|
||||
echo "installing phantomjs" && \
|
||||
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 && \
|
||||
rm -rf phantomjs-2.1.1-linux-x86_64/ && \
|
||||
rm phantomjs.tar.bz2 && \
|
||||
rm -rf phantomjs-2.1.1-linux-x86_64 && \
|
||||
rm /defaults/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
echo "Phantom JS version:" && \
|
||||
phantomjs --version ; \
|
||||
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",
|
||||
]
|
||||
dependencies = [
|
||||
"yt-dlp[default]==2025.5.22",
|
||||
"yt-dlp[default]==2025.6.9",
|
||||
"colorama~=0.4",
|
||||
"mergedeep~=1.3",
|
||||
"mediafile~=0.12",
|
||||
|
|
|
|||
Loading…
Reference in a new issue