I managed to figure out why pytube suddenly dumped: The function find_object_from_startpoint in pytube parser.py failed to recognize regular expressions and ignore closing characters contained therein, resulting in incomplete code fragments being passed to downstream functions.
This fix enables find_object_from_startpoint to recognize and treat regular expressions correctly and restores the original cipher.py.
I have tested that the function find_object_from_startpoint works and returns complete functions, but have no idea how I could test if the mechanism to avoid throttling still works.
`caption.json_captions` — Download and parse the "json3" caption tracks
json_captions — Download and parse the json caption tracks
Thomas Aylott
Unverified signature
d19b8d4
YouTube.from_id
Thomas Aylott
Unverified signature
94fec48
Adding list data type to 'res' parameter of filter() function.
stark821
Unverified signature
f697a53
Adding list data type in addition to the existing str type to the 'res' and 'resolution' parameter of the filter() function of the StreamQuery class. This enables us to get streams with multiple resolutions in a single query.
Adding list data type to 'res' parameter of filter() function.
stark821
Unverified signature
8c1afab
Adding list data type in addition to the existing str type to the 'res' and 'resolution' parameter of the filter() function of the StreamQuery class. This enables us to streams with multiple resolutions in a single query.
Update itags.py
Burak Duru
Unverified signature
ce85f4e
I noticed itags.py left a bit outdated. Here's the up-to-date form.
fixing type casting bug and reinforcing _ naming convention (#1390)
Sid Shardanand
Unverified signature
84faec3
Introducing filesize returned in kb, mb and gb (#1364)
Sid Shardanand
Unverified signature
3cabdbd
* Enable inbuilt conversion(with rounding) to KB, MB and GB for the filesize attribute
* return kb, mb, gb as floats rounded up to 3 significant figures
* updating filesize function with appropriate naming conventions
Bump version: 12.0.0 → 12.1.0
Ronnie Ghose
2e307d8
Fix regex to find throttling function name (#1282)
Kinshuk Vasisht
Unverified signature
cd26b1c
* Generalize regex to find throttle function name
* Extend tests and fixtures for throttling name
* Rename mock asset to follow similar naming style
Bump version: 11.0.2 → 12.0.0
Ronnie Ghose
e857546
Fix regex to find throttle function name (#1222)
Fuan
Unverified signature
642bb0a
* Fix regex to find throttle function name
The javascript now stores the throttling function name in an array.
Fix https://github.com/pytube/pytube/issues/1218
* Fix array parsing
Strip whitespaces around symbol names for future-proofing.
The variable name might be "b" right now, but it could change in the
future.
Merge pull request #1237 from pytube/dependabot/pip/pipenv-2022.1.8