mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-24 23:06:13 +03:00
[PR #678] [MERGED] search: adds functionality to remove search suggestion #699
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#699
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/678
Author: @comarquet
Created: 11/13/2024
Status: ✅ Merged
Merged: 12/17/2024
Merged by: @sigma67
Base:
main← Head:main📝 Commits (6)
2d52e04search: adds functionality to remove search history suggestion1da1967Minor improvements for remove search suggestions808077bfix lint9d65260Merge remote-tracking branch 'origin/main' into comarquet-mainaa3a41fsome improvements: remove_search_suggestions4801d3amake indices optional📊 Changes
4 files changed (+110 additions, -12 deletions)
View changed files
📝
docs/source/reference.rst(+2 -0)📝
tests/mixins/test_search.py(+29 -0)📝
ytmusicapi/mixins/search.py(+60 -7)📝
ytmusicapi/parsers/search.py(+19 -5)📄 Description
Related to #497
I modified parse_search_suggestions so that it retrieves the feedbackToken of each suggestion in the search bar and associates it with the number it is displayed when invoking get_search_suggestions, so that the function remove_search_suggestion can be called with the number as parameter to delete the corresponding entry.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.