dl/commands/biyao.py
Michel Roux 427b068c84
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
first commit
2021-05-13 17:33:31 +02:00

11 lines
373 B
Python
Executable File

#!/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'])