Create discography.py

pull/6/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 5526f2a890
commit c0cd4a8d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,11 @@
#!/usr/bin/env python3
from deezer import Deezer
import sys
if __name__ == '__main__':
if len(sys.argv) > 1:
dz = Deezer()
releases = dz.gw.get_artist_discography_tabs(sys.argv[1], 100)
for type in releases:
for release in releases[type]:
print(release['id'])
Loading…
Cancel
Save