mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[PR #517] [MERGED] Remove offset + fix top result #633
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#633
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/517
Author: @AustinGitHub
Created: 1/13/2024
Status: ✅ Merged
Merged: 1/14/2024
Merged by: @sigma67
Base:
main← Head:fix_top_results📝 Commits (4)
55db498Remove offset + fix top result91254ceadd Null checks1efef81Make updates per comments62bafe1Update ytmusicapi/parsers/search.py📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
ytmusicapi/parsers/search.py(+5 -2)📄 Description
Issue - https://github.com/sigma67/ytmusicapi/issues/518
These offsets cause an issue
Fix, I test this way

Before
BeforeChange.txt
After
AfterChanges.txt
Differences

Only issue is this
But this is because code forced in to append
Nonefor artist withoutIdbut then again, what if an artist name is "Album" can't just filter that out by keyword. I think this append ofNoneshould be taken out because with the way youtube music and youtube topic channels are auto-created I think it is safe to say most artists would have an id, no?Let me know and I can commit that change, thanks!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.