mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 13:19:58 -05:00
Updating download process to prevent rate limiting.
* Added encrypted cookies feature for use with yt-dlp. Decrypted cookies never touch the disk. * Adding sleep between all downloads to prevent rapid requests. * Channels are fully refreshed before downloading. * Removing superseded video browser profile.
This commit is contained in:
parent
48a81eccc2
commit
0c059865e2
30 changed files with 1678 additions and 552 deletions
|
|
@ -3,8 +3,20 @@ ENV DOCKER=true
|
|||
WORKDIR /opt/wrolpi
|
||||
|
||||
# Update dependencies for the services install.
|
||||
RUN apt-get update && apt-get install -y ffmpeg catdoc sysstat aria2 iputils-ping
|
||||
RUN apt-get update && apt-get install -y ffmpeg catdoc sysstat aria2 iputils-ping unzip
|
||||
RUN ffmpeg -version
|
||||
|
||||
# Install Deno runtime for yt-dlp
|
||||
RUN ARCH=$(uname -m) && \
|
||||
if [ "$ARCH" = "aarch64" ]; then DENO_ARCH="aarch64-unknown-linux-gnu"; \
|
||||
elif [ "$ARCH" = "x86_64" ]; then DENO_ARCH="x86_64-unknown-linux-gnu"; \
|
||||
else echo "Unsupported architecture: $ARCH" && exit 1; fi && \
|
||||
curl -fsSL "https://github.com/denoland/deno/releases/download/v2.2.4/deno-${DENO_ARCH}.zip" -o /tmp/deno.zip \
|
||||
&& unzip /tmp/deno.zip -d /usr/local/bin/ \
|
||||
&& chmod +x /usr/local/bin/deno \
|
||||
&& rm /tmp/deno.zip \
|
||||
&& deno --version
|
||||
|
||||
# yt-dlp needs cache directory
|
||||
RUN mkdir /.cache && chown -R 1000:1000 /.cache
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue