From 4fdb67128daec52813b85856b3dbb2a70f40b660 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Mon, 11 May 2020 00:25:34 +0200 Subject: [PATCH] Fetch correct diva playlist id --- PFERD/diva.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PFERD/diva.py b/PFERD/diva.py index c424d1d..148fa56 100644 --- a/PFERD/diva.py +++ b/PFERD/diva.py @@ -82,7 +82,7 @@ class DivaPlaylistCrawler: if body["error"]: raise FatalException(f"DIVA: Server returned error {body['error']!r}.") - return body["result"]["id"] + return body["result"]["collection"]["id"] def crawl(self) -> List[DivaDownloadInfo]: """