-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Issue when downloading videos, AttributeError: 'NoneType' object has no attribute 'get' #400
Comments
here the same...
|
I started to get the same error after upgraded Pytubefix from 8.8.1 to 8.10. Potentially is an issue related to the way the Exceptions are handled in latest versions of pytubefix. For example: Using pytubefix 8.8.1 raises the error The problem was fixed by downgrading pytubefix to version 8.8.1 |
I am running pytubefix 8.10 with the #402 patch in my production server at a couple of hours and seems the issue is fixed. |
@felipeucelli Here is a list of videos generating such error spotted in my server so far:
Opening with the browser, all of them have the |
Try this patch and tell us the result #403 |
🛑 DO NOT REMOVE OR SKIP THIS ISSUE TEMPLATE 🛑
Issues with incomplete or missing information will be closed automatically.
🐞 Bug Description
Provide a clear and concise description of the bug.
Hi there, I am trying to download youtube videos in the lowest quality, as the code below shows. Only, for almost all videos I am having the following error:
For example, this happens for a video with id qoTa_vfO8-4 and full link https://www.youtube.com/watch?v=qoTa_vfO8-4. The weird thing is that it works when I manually do it in the python3 terminal prompt. Also, these videos are not banned or only privately accessible. It is also worth noting that most of these videos come from Chinese content creators.
🔢 Code Snippet
Include the minimal code snippet that reproduces the issue.
🎯 Expected Behavior
Describe what you expected to happen instead of the observed behaviour.
What would be expected is that this video is downloaded, like was done before. Only today this error started occuring.
📸 Screenshots or Logs
Error:
🖥️ Environment Details
Fill in the details below about your setup:
📋 Additional Context
Add any additional information or context that might help us resolve the issue.
🚀 Next Steps
Once submitted, we will triage the issue. Make sure to respond to follow-up questions to keep the process smooth.
The text was updated successfully, but these errors were encountered: