[GH-ISSUE #187] ytm.search returns empty array "artists" field on some queries (Query example included) #144

Closed
opened 2026-02-27 22:08:16 +03:00 by kerem · 1 comment
Owner

Originally created by @mrbaguettefr on GitHub (Apr 10, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/187

How to reproduce :

len(ytm.search(query='Dimitri Vegas, MOGUAI & Like Mike - Mammoth (Original Mix)', filter="songs")[2].artists) == 0

Actual result:

True

Expected result:

False

Same query in YTM GUI:
2021-04-10 13_40_57-Stay (Steve James Remix) (feat  Dia Frampton) - YouTube Music

ytmusicapi version : 0.15.1

Originally created by @mrbaguettefr on GitHub (Apr 10, 2021). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/187 How to reproduce : ``` len(ytm.search(query='Dimitri Vegas, MOGUAI & Like Mike - Mammoth (Original Mix)', filter="songs")[2].artists) == 0 ``` Actual result: ``` True ``` Expected result: ``` False ``` Same query in YTM GUI: <img width="646" alt="2021-04-10 13_40_57-Stay (Steve James Remix) (feat Dia Frampton) - YouTube Music" src="https://user-images.githubusercontent.com/11507846/114268650-6d579300-9a02-11eb-9c92-76b98c5d52dc.png"> ytmusicapi version : 0.15.1
kerem closed this issue 2026-02-27 22:08:16 +03:00
Author
Owner

@sigma67 commented on GitHub (Apr 10, 2021):

Let me know if the fix works for you!

<!-- gh-comment-id:817157330 --> @sigma67 commented on GitHub (Apr 10, 2021): Let me know if the fix works for you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#144
No description provided.