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

Not downloading after file creation #364

Open
LittleGuySC opened this issue Nov 28, 2024 · 0 comments
Open

Not downloading after file creation #364

LittleGuySC opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LittleGuySC
Copy link

❗ DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE ❗

lack of information will lead to closure of the issue


Describe the bug
When downloading a video, it will create a 0 KB file in the and then stop completely. It won't output errors, it'll just never stop loading.

The file is in the correct location and is named after the video.


code that was used that resulted in the bug

from pytubefix import YouTube
video = YouTube("https://www.youtube.com/watch?v=xwTPvcPYaOo", use_oauth=True, allow_oauth_cache=True)
video.streams.get_audio_only().download()

Expected behavior
I expected PyTube to download the video and not output a 0 KB file.


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


Desktop (please complete the following information):

  • OS: MacOS Sequoia 15.1.1
  • Python Version [3.13.0]
  • Pytubefix Version [8.6.0]

Additional context
Add any other context about the problem here.

@LittleGuySC LittleGuySC added the bug Something isn't working label Nov 28, 2024
@JuanBindez JuanBindez moved this from waiting to bug in Improving Pytubefix Dec 1, 2024
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

1 participant