Rollback to pip
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-12-24 11:04:46 +00:00
parent b7a1fb40d0
commit 1abc11b5fc
2 changed files with 4 additions and 3 deletions

View File

@ -3,10 +3,11 @@ FROM linuxserver/ffmpeg:5.1.2-cli-ls71
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
vim p7zip* git rsync lftp speedtest-cli rename wget curl procps psmisc \ vim p7zip* git rsync lftp speedtest-cli rename wget curl procps psmisc \
openssh-client transmission-cli yt-dlp \ openssh-client transmission-cli python3-pip \
python3-requests python3-bs4 && \ python3-requests python3-bs4 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://raw.githubusercontent.com/tremc/tremc/master/tremc -o /usr/local/bin/tremc && \ RUN pip3 install yt-dlp && \
curl -sSL https://raw.githubusercontent.com/tremc/tremc/master/tremc -o /usr/local/bin/tremc && \
curl -sSL https://github.com/drone/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar xvz && \ curl -sSL https://github.com/drone/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar xvz && \
install -vt /usr/local/bin drone && rm -vf drone && \ install -vt /usr/local/bin drone && rm -vf drone && \
update-alternatives --set editor /usr/bin/vim.basic update-alternatives --set editor /usr/bin/vim.basic

View File

@ -36,7 +36,7 @@ class FlareRequests(requests.Session):
raise requests.RequestException(response) raise requests.RequestException(response)
post_data = { post_data = {
"cmd": f"request.{method.lower()}", "cmd": f"request.{method}",
"session": FLARESESSION, "session": FLARESESSION,
"url": url, "url": url,
} }