From de760030ca76b345d28967295717b49efd4366ef Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 12 Jan 2022 10:26:45 +0000 Subject: [PATCH] Remove useless things --- Dockerfile | 5 +++-- commands/biyao.py | 10 ---------- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100755 commands/biyao.py diff --git a/Dockerfile b/Dockerfile index a9d3716..069450e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,9 @@ ENV PGID 1000 ENV LANG C.UTF-8 RUN apt-get update && \ - apt-get install -y vim p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps \ - openssh-client transmission-cli python3-pip python3-requests youtube-dl && \ + apt-get install -y \ + vim p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps \ + openssh-client transmission-cli python3-requests youtube-dl && \ rm -rf /var/lib/apt/lists/* RUN 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 && \ diff --git a/commands/biyao.py b/commands/biyao.py deleted file mode 100755 index 90e9d02..0000000 --- a/commands/biyao.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python3 -import requests - -for num in range(1, 111): - r = requests.get( - 'https://api.soundcloud.com/resolve?url=https://soundcloud.com/biyao' + '%02d' % num + '/sets&client_id=dbadb7fde15d88f2f221db41794959ab' - ).json() - if len(r) > 0 and 'errors' not in r: - for playlist in r: - print('%02d' % num + ' ' + playlist['title'])