From fe37de8e1a731dc64907f924c22f06704edcee96 Mon Sep 17 00:00:00 2001 From: Traslator123 Date: Wed, 8 May 2024 08:48:03 -0400 Subject: [PATCH] Update cipher.py --- pytube/cipher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytube/cipher.py b/pytube/cipher.py index d385d83a4..5b37badd1 100644 --- a/pytube/cipher.py +++ b/pytube/cipher.py @@ -27,7 +27,7 @@ class Cipher: def __init__(self, js: str): self.transform_plan: List[str] = get_transform_plan(js) - var_regex = re.compile(r"^\w+\W") + var_regex = re.compile(r"^\$*\w+\W") var_match = var_regex.search(self.transform_plan[0]) if not var_match: raise RegexMatchError(