Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some songs in playlist are skipped #365

Open
acc0un1 opened this issue Nov 30, 2024 · 1 comment
Open

Some songs in playlist are skipped #365

acc0un1 opened this issue Nov 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@acc0un1
Copy link

acc0un1 commented Nov 30, 2024

❗ DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE ❗

lack of information will lead to closure of the issue


Describe the bug
Some songs in my playlist are skipped when downloading.


code that was used that resulted in the bug

from pytubefix import Playlist, YouTube

# PLaylist 2 test
url = "https://music.youtube.com/playlist?list=PLRvkxIBOWuzv-mlE1zchTWO6IF1_1djlo&si=pCdrjVBYM9ri5O5l"

pl = Playlist(url)
count = 0
for x in pl:
    print(x, end = " ")
    print(YouTube(x).title)
    count = count + 1
print(f"{pl.length} in playlist, {count} counted")

Expected behavior
This code should print the links to all the videos in the playlist (98). Instead, it only prints 85 links and skipps over the same 13 songs.
When copying all songs to another new playlist, only one of the missings songs appeared.
The missing songs do not have anything in common, I think.


Screenshots
If applicable, add screenshots to help explain your problem.


Desktop (please complete the following information):

  • OS:Windows 2024-11
  • Python Version 8.7rc3
  • Pytubefix Version 3.12.6

Additional context
I can download all the songs on their own.

@acc0un1 acc0un1 added the bug Something isn't working label Nov 30, 2024
@JuanBindez JuanBindez moved this from waiting to bug in Improving Pytubefix Dec 1, 2024
@Benjamin-Loison
Copy link

For reference this question has also been raised as the Stack Overflow question 79239892.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants