Turns out when I entered the pytube library code in github I found all the comments confirming that the problem is from the same library but the library has been updated
Now I updated the library and the program really worked without problems
Write : pip install --upgrade pytube
It will work without problems, allah willing
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.
Problem solved
Turns out when I entered the pytube library code in github I found all the comments confirming that the problem is from the same library but the library has been updated
Now I updated the library and the program really worked without problems
Write :
pip install --upgrade pytube
It will work without problems, allah willing