Skip to content

Commit

Permalink
[Fix] Issue: pytube#1199
Browse files Browse the repository at this point in the history
  • Loading branch information
JavDomGom committed Jan 19, 2022
1 parent dec8dff commit 40e890f
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 40e890f

Please sign in to comment.