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

Client.search() returns an empty paginated list #651

Closed
sortedcord opened this issue Dec 21, 2022 · 2 comments
Closed

Client.search() returns an empty paginated list #651

sortedcord opened this issue Dec 21, 2022 · 2 comments

Comments

@sortedcord
Copy link

Followed the installation steps for this package but for some reason its always returning an empty paginated list.

import deezer

client = deezer.Client()
print(client.get_album(680407).title)
print(client.search('Daft Punk'))

Output -

'Monkey Business'
<PaginatedList []>

So apparently get_album works but search doesn't. Am I missing something here?

@sortedcord
Copy link
Author

I tried putting in the access token and it works. So I suppose for searching, you need authentication

@browniebroke
Copy link
Owner

Weird, I just tried again now and it worked fine without the need for authentication...

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

No branches or pull requests

2 participants