This commit is contained in:
parent
9170d243c6
commit
de760030ca
@ -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 && \
|
||||
|
@ -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'])
|
Loading…
Reference in New Issue
Block a user