diff --git a/root/scripts/discography.py b/root/scripts/discography.py new file mode 100644 index 0000000..18acc7c --- /dev/null +++ b/root/scripts/discography.py @@ -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'])