mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Fetch correct diva playlist id
This commit is contained in:
parent
a0f9d31d94
commit
4fdb67128d
@ -82,7 +82,7 @@ class DivaPlaylistCrawler:
|
|||||||
if body["error"]:
|
if body["error"]:
|
||||||
raise FatalException(f"DIVA: Server returned error {body['error']!r}.")
|
raise FatalException(f"DIVA: Server returned error {body['error']!r}.")
|
||||||
|
|
||||||
return body["result"]["id"]
|
return body["result"]["collection"]["id"]
|
||||||
|
|
||||||
def crawl(self) -> List[DivaDownloadInfo]:
|
def crawl(self) -> List[DivaDownloadInfo]:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user