Fix 8muses album URL, add permalink path

This commit is contained in:
0x1f595
2022-11-29 20:27:01 -08:00
parent 8cbc05786a
commit 19ea6ee84f

View File

@@ -119,10 +119,11 @@ class _8musesAlbumExtractor(Extractor):
return {
"id" : album["id"],
"path" : album["path"],
"parts" : album["permalink"].split('/'),
"parts" : album["permalink"],
"title" : album["name"],
"private": album["isPrivate"],
"url" : self.root + album["permalink"],
"permalink" : album["permalink"],
"url" : self.root + "/" + album["permalink"],
"parent" : text.parse_int(album["parentId"]),
"views" : text.parse_int(album["numberViews"]),
"likes" : text.parse_int(album["numberLikes"]),