Fetch correct diva playlist id

This commit is contained in:
I-Al-Istannen 2020-05-11 00:25:34 +02:00
parent a0f9d31d94
commit 4fdb67128d

View File

@ -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]:
"""