NameError: name 'RegexMatchError' is not defined (installed pytube from Master)
See original GitHub issueI work on spotDL/spotify-downloader and this is a common issue we run across.
It occurs only for some users under different circumstances, e.g.
- pytube works just fine from a fork of pytube I uploaded to PyPi called
a-pytube-fork-for-spotdl-users
. It also doesn’t work for some of the users on our stable branch. It works for most of them. - It doesn’t work on the PR in question (see link). again among the 4 testers, it works for 2 doesn’t for the other 2.
We (the dev team) would like some help with this and the other pytube issues.
Just a side note:
- Consider rewriting the whole of pytube from scratch. It usually reduces package size drastically.
- Definitely more reliable.
- If you write it with maintainability in mind - it’ll have a much simpler design, that’s a bonus for attracting more contributors.
- Most of the trial and error is already done, you just have to restructure it for all of those benefits.
Now, I’m sure there are reasons you aren’t doing this but just wanted to share by 2 cents with you. It got the project that I ‘inherited’ form this muck into a maintainable state with much better search capabilities.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
name 'RegexMatchError' is not defined (installed pytube from ...
I work on spotDL/spotify-downloader and this is a common issue we run across. It occurs only for some users under different circumstances, ...
Read more >pytube.exceptions.RegexMatchError in python - Stack Overflow
you can install : pip install pytube==11.0.1 or pip install --upgrade pytube. or you can change in pytube/cipher.py : edit line:r'a\.
Read more >Pytube exceptions RegexMatchError get_throttling_function_name ...
try upgrading pytube like this: pip install pytube --upgrade. ... RegexMatchError: get throttling function name: could not find match for multiple ubuntu ...
Read more >pytube Documentation - Read the Docs
This guide assumes you already have python and pip installed. To install pytube, run the following command in your terminal:.
Read more >python-pytube-readthedocs-io-en-latest - Yumpu
To install pytube, run the following command in your terminal: ... curl -OL https://github.com/nficano/pytube/tarball/master.
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
Don’t get me wrong. I’ve been the admin on spotdl for only a month. What I said above were just things that helped me get spotdl into a maintainable state. Just my 2 cents.
I really appreciate the work you’ve done on pytube. Thought I should share a boot of what helped me.
As to the error, I’ll get to you by tmrw.
Since this issue is coming from a patch made to pytube in your library, I’m going to close it for now. If you have a problem with pytube itself in the future, please feel welcome to create a new issue.