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
[BUG] RegexMatchError: get_throttling_function_name: could not find match for multiple #1750
Comments
Thank you for contributing to PyTube. Please remember to reference Contributing.md |
here the same error ... |
The same situation: can not download anything... |
Same problem |
here the same error (( |
Same |
#1707 (comment) |
Yes:
this work for me, too |
That worked for me too, but seems to have some abnormal delay to start the download: In cipher.py locate:
And replace by:
The only change is the removal of a |
It works but the data download speed is awful |
I did many tests and I can confirm it works, but the download speed is far lower than usual. Here are some the download speed I got:
|
It is not bad at all. |
This works , but download speeds are significantly lower than usual |
I agree with all, I faced the issue today and replaced the above code, it works but significantly impacts download speeds. |
from cipher.py i deleted another one question mark and now, my program runs smoothly, so in cipher.py i have regex like this:
|
This works, but for the unadvanced like me: You have to restart the kernel after changing something in the imported libraries otherways it will show the new declaration in the error but will not work. |
Here is what i found. Fresh install via bellow command. 1st run of bellow works fine. 2nd run of save 1st line make reg* error as bellow. I found that above RegexMatchError has a Forkfix? After fork fix 1763(#1763) bellow get_throttling_function_name happens |
Isso funcionou para mim: #1754 (comentário) |
I have a question: why does it seem like "cypher.py" is where the most errors occur? |
Because this code do parsing and processing the script coming from YouTube. If YouTube changes something, the processing algorithm may become out of date and require modification. |
The pattern provided by @Mc-Kappa solved the problem, and without the slow download side effect, too. Thank you. |
|
I have confirmed that I am on the latest version of pytube by installing from the source. I did this by running !pip install git+https://github.com/pytube/pytube.
Describe the bug
Since today I'm encountering a RegexMatchError when trying to download a YouTube video using pytube. The error message suggests that the function get_throttling_function_name could not find a match for multiple. It was working fine until yesterday and I didn't do anything to the code.
To Reproduce
The video URL that is causing the error is: https://www.youtube.com/watch?v=oMHLkcc9I9c&ab_channel=NENA
Here is the code where the problem is occurring:
Expected behavior
I expected the video to be downloaded without any errors.
Output
Here is the full traceback for the exception:
I already tried removing the semicolon as suggested in 1707 but it didn't work for me.
System information
Please provide the following information:
The text was updated successfully, but these errors were encountered: