mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[PR #607] [CLOSED] Extract song count from text #670
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#670
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/607
Author: @JohnHKoh
Created: 6/21/2024
Status: ❌ Closed
Base:
main← Head:song_count_fix📝 Commits (2)
1d62e98Extract song count from textffc0ebaAdd fix in parsers📊 Changes
2 files changed (+8 additions, -4 deletions)
View changed files
📝
ytmusicapi/mixins/playlists.py(+4 -2)📝
ytmusicapi/parsers/playlists.py(+4 -2)📄 Description
Use RegEx search to search for track count integer instead of using indexing. If the number cannot be extracted, return 0 as a fallback.
Addresses https://github.com/sigma67/ytmusicapi/issues/606
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.