You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just yesterday, this was working. i am using the latest version of pytube.
I think this has been encountered before, and pytube updated the regex code in the cipher.py
perhaps youtube did an update... please help.
here are my logs...
stable3.py", line 61, in
audio_download = vid.streams.get_audio_only()
^^^^^^^^^^^
python3.12/site-packages/pytube/main.py", line 296, in streams
return StreamQuery(self.fmt_streams)
^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/main.py", line 188, in fmt_streams
extract.apply_signature(stream_manifest, self.vid_info, self.js)
python3.12/site-packages/pytube/extract.py", line 409, in apply_signature
cipher = Cipher(js=js)
^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 43, in init
self.throttling_plan = get_throttling_plan(js)
^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 406, in get_throttling_plan
raw_code = get_throttling_function_code(js)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 312, in get_throttling_function_code
name = re.escape(get_throttling_function_name(js))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 297, in get_throttling_function_name
raise RegexMatchError(
pytube.exceptions.RegexMatchError: get_throttling_function_name: could not find match for multiple
The text was updated successfully, but these errors were encountered:
Just yesterday, this was working. i am using the latest version of pytube.
I think this has been encountered before, and pytube updated the regex code in the cipher.py
perhaps youtube did an update... please help.
here are my logs...
stable3.py", line 61, in
audio_download = vid.streams.get_audio_only()
^^^^^^^^^^^
python3.12/site-packages/pytube/main.py", line 296, in streams
return StreamQuery(self.fmt_streams)
^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/main.py", line 188, in fmt_streams
extract.apply_signature(stream_manifest, self.vid_info, self.js)
python3.12/site-packages/pytube/extract.py", line 409, in apply_signature
cipher = Cipher(js=js)
^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 43, in init
self.throttling_plan = get_throttling_plan(js)
^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 406, in get_throttling_plan
raw_code = get_throttling_function_code(js)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 312, in get_throttling_function_code
name = re.escape(get_throttling_function_name(js))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python3.12/site-packages/pytube/cipher.py", line 297, in get_throttling_function_name
raise RegexMatchError(
pytube.exceptions.RegexMatchError: get_throttling_function_name: could not find match for multiple
The text was updated successfully, but these errors were encountered: