NoneType' object has no attribute 'span' [BUG]
See original GitHub issueBefore creating an issue
Please confirm that you are on the latest version of pytube by installing from the source.
You can do this by running python -m pip install git+https://github.com/pytube/pytube
.
Sometimes, the pypi library repository is not up to date, and your issue may have been fixed already!
Describe the bug A clear and concise description of what the bug is.
To Reproduce Please provide the following information:
- The video or playlist url that is causing the error.
- The code where the problem is occurring.
Expected behavior A clear and concise description of what you expected to happen.
Output If pytube raises an exception, please provide the full traceback for the exception.
System information Please provide the following information:
- Python version (run
python --version
) - Pytube version (run
print(pytube.__version__)
in python) - Command used to install pytube
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:17 (1 by maintainers)
Top Results From Across the Web
pytube: AttributeError: 'NoneType' object has no attribute 'span'
The issue is that the regex expects a function with an argument, but I guess youtube added some src that includes non-paramterized functions....
Read more >[BUG] 'NoneType' object has no attribute 'span' #1218 - GitHub
You can do this by running python -m pip install git+https://github.com/pytube/pytube . Sometimes, the pypi library repository is not up to date ...
Read more >[Solved] AttributeError: 'NoneType' object has no attribute 'span'
To Solve AttributeError: 'NoneType' object has no attribute 'span' Error There are issue is that the regex expects a function with an argument...
Read more >[Example code]-pytube: 'NoneType' object has no attribute 'span'
I try to follow pytube example for downloading video from YouTube: from pytube import YouTube video = YouTube('https://www.youtube.com/watch?v=BATOxzbVNno') ...
Read more >AttributeError: 'NoneType' object has no attribute 'span' When ...
Well, there's not much we can do with a partial traceback. "span" isn't in your code, so it must be coming from a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Github is becoming a cesspool of idiots who can’t read, can’t write, can’t understand anything.
Don’t act surprised when developers leave this platform if people keep spamming like this.
name = re.escape(get_throttling_function_name(js))