I would so much love to use this!! (So yes, I liked it!) :) But unfortunately I also get an error message. The problem seems to be in line 202 of a file called extract.py
I have been trying to change a little in it, but since my knowledge of Python is still in the basics I don't really want to mess up the file without really knowing what I am doing, so please come with tips on how I can solve the following problem:
File "C:\ProgramData\Anaconda3\lib\site-packages\pytube\extract.py", line 202, in get_ytplayer_config
raise RegexMatchError(caller="get_ytplayer_config", pattern="config_patterns")
RegexMatchError: get_ytplayer_config: could not find match for config_patterns
I have this issue too. I'm using Python 3.9 and in it's own IDLE
pytube.exceptions.RegexMatchError: get_ytplayer_config: could not find match for config_patterns
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would so much love to use this!! (So yes, I liked it!) :) But unfortunately I also get an error message. The problem seems to be in line 202 of a file called extract.py
I have been trying to change a little in it, but since my knowledge of Python is still in the basics I don't really want to mess up the file without really knowing what I am doing, so please come with tips on how I can solve the following problem:
File "C:\ProgramData\Anaconda3\lib\site-packages\pytube\extract.py", line 202, in get_ytplayer_config
raise RegexMatchError(caller="get_ytplayer_config", pattern="config_patterns")
RegexMatchError: get_ytplayer_config: could not find match for config_patterns
With kind regards,
Marie
I think you're using an old version of pytube. Please run the following to uninstall pytube, and then reinstall it from the source code:
python -m pip uninstall pytube pytube3 pytubex
python -m pip install git+github.com/nficano/pytube
I had the same problem last week and i have solved it with above instructions.
I have this issue too. I'm using Python 3.9 and in it's own IDLE
pytube.exceptions.RegexMatchError: get_ytplayer_config: could not find match for config_patterns