mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #650] Incorrect track count for playlists with 1000+ songs #438
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#438
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?
Originally created by @RealCalumPlays on GitHub (Sep 28, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/650
Hello all,
This is an issue with the regex in the playlist mixin. It causes only the first group to be returned. For example if the playlist had
3647songs it would return3due to howre.search(r"\d+", song_count_text)is used.To Reproduce
Steps to reproduce the behavior:
YTMusic.get_playlist()functiontrackCountobject.Additional context