could not find match for ^\w+\W
Same issue here too.
Hmm, I'm not very sure this would work but what if you download the background video manually, to go "background.py" and add the path to "assets/mp4/background.mp4" and add the video in that path.

I think I've solved it, I went to the cipher.py file and changed var_regex = re.compile(r"^\w+\W") to var_regex = re.compile(r"^$*\w+\W"). there's nothing wrong in doing that, right?
I don't think that should be a problem. Give it a go and let me know, thanks! Most likely I think that should work.
Can you provide me the path to "cipher.py"? I don't seem to have it.
I think I've solved it, I went to the cipher.py file and changed var_regex = re.compile(r"^\w+\W") to var_regex = re.compile(r"^$*\w+\W"). there's nothing wrong in doing that, right?
cipher.py isn't a thing....?
I think I've solved it, I went to the cipher.py file and changed var_regex = re.compile(r"^\w+\W") to var_regex = re.compile(r"^$*\w+\W"). there's nothing wrong in doing that, right?
cipher.py isn't a thing....?
it's in the library. Follow the on-screen console and if you see /libs/ or something like that, copy the rest of the location
re.compile(r"^$*\w+\W") doesn't work. Further researching, the regex: ^\$*\w+\W works
it's been reference in pytube's issue #1199 Edit: The developer needs to update the package. I am pretty sure it was fixed in the newer version
hmm, not sure I understand too much. Where do I get to get /libs/ ?
hmm, not sure I understand too much. Where do I get to get /libs/ ?
C:\Users\<Your desktop user>\AppData\Local\Programs\Python\Python39\Lib\site-packages\pytube
Thanks!
Thanks!
No problem! When you change the regex it should work.
I'm in cipher.py right now. What line is to change the regex?
I'm in cipher.py right now. What line is to change the regex?
Ctrl+f var_regex = re.compile
tried this now im getting an error

re.error: nothing to repeat at position 2
tried this now im getting an error
re.error: nothing to repeat at position 2
I think You forget a \ in re.compile(r"^$*\w+\W")
i think i fixed it, i removed the r and the "" and it worked
did this, getting 'prawcore.exceptions.OAuthException: unauthorized_client error processing request (Only script apps may use password auth)'
oo, got it to say 'prawcore.exceptions.OAuthException: invalid_grant error processing request' instead