Skip to content

Commit

Permalink
pytube#1199 issue fix
Browse files Browse the repository at this point in the history
Signed-off-by: joel tang <jztangw@gmail.com>
  • Loading branch information
joel tang committed Aug 11, 2023
1 parent a32fff3 commit 4992683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytube/cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4992683

Please sign in to comment.