Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kkbox.py #79

Closed
wants to merge 2 commits into from
Closed

Update kkbox.py #79

wants to merge 2 commits into from

Conversation

Kukuair
Copy link

@Kukuair Kukuair commented Jan 10, 2023

I try to download all albums of an artist, but only the albums shown in https://play.kkbox.com/artist/XXXXXXXXXXXXXX will be downloaded.

image

But this is only a part of this artist's albums, not all of this artist's albums. his all albums are showcased at https://play.kkbox.com/artist/xxxxxxxxxxxxxx/albums. and should use “get_artist_albums” function to download from here

image

image

In addition, you seem to use the 'get_date' function in ' rsack\clients\kkbox.py ' to capture the release time of the album through ' Beautifulsoup'. Actually, the release time of the album can also be obtained from 'get_artist_albums'
I feel that it is only suitable for batch downloading all albums of an artist. If only one album is downloaded, the current method is more convenient

(I have the log print out the name of the album currently being downloaded, so it looks a little clearer)

hope there is nothing wrong

If you want to download all albums of an artist, only the albums shown in https://play.kkbox.com/artist/XXXXXXXXXXXXXX will be downloaded.
But this is only a part of this artist's albums, not all of this artist's albums.
his all albums are showcased at https://play.kkbox.com/artist/DXQVoCQF1asjEu9yaW/albums. and should be downloaded from here
In addition, you seem to use the 'get_date' function in ' rsack\clients\kkbox.py ' to capture the release time of the album through ' Beautifulsoup'. In fact, the release time of the album can also be obtained from 'get_artist_albums'
(In addition, I had the log print out the name of the album currently being downloaded)
@Kukuair Kukuair closed this Jan 10, 2023
@Kukuair Kukuair reopened this Jan 10, 2023
@Slyyxp
Copy link
Owner

Slyyxp commented Jan 10, 2023

Bs4 is indeed used as I could not find the date anywhere in the API response.
I will review this when I have time.

@Kukuair Kukuair closed this by deleting the head repository Jan 16, 2023
@Kukuair Kukuair mentioned this pull request Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants