Releases: pytube/pytube
Bugfixes
get_video_info -> InnerTube API
-
User InnerTube in place of
get_video_info
url -
Added some additional base parameters for innertube requests.
-
Added Oauth support for innertube client
-
Add exception for age-restricted videos which can no longer be accessed without using auth.
-
Carved out and simplified code where possible due to API changes.
-
Added renderer catch -- fixes #1068
-
Additional channel name support for URL-encoded names.
-
Updated test mocks, removed region-locked test because that functionality no longer works.
Due to significant changes in how video info is accessed, certain YouTube object attributes no longer exist, which could cause breaking changes in code bases that rely on those attributes, hence the major version release.
Bugfixes and innertube additions
-
Add catch for suggested search results; accounts for edge case of no views on result.
-
Added exception handling for incorrect cached js files.
-
Now allows you to actually set filenames, instead of doing partial overrides to create safe filenames.
-
Innertube improvements, and skeleton code for future innertube work
Minor test fix
-
Update mock so that stream raises HTTPError, rather than head, and simplified some other mocks.
-
pep8-naming updated, adding a new ignore
Bundle of bugfixes
-
Removed special character from author attribute.
-
Changed -v CLI arg to have a single setting, rather than multiple.
-
Add retry functionality for IncompleteRead errors.
-
Extract contentLength from info where possible.
-
Mock open in final streams test to prevent file from being written.
-
Exception handling for accessing titles of private videos.
Download throttling fix
-
Emulates the js player to calulate the value of n to prevent download slowdowns
-
Adds some additional debugging to HTMLParseErrors
-
Adds a helper for generating new html json files
-
Parser improvement
Channel improvements and bugfix for YouTube change
- Improved support for additional channel URLs
- Improved metadata for channels
- Improved channel documentation
- Change to
get_video_info
call to fix 404 issue
Playlist length fix
- Fixes an issue where playlist lengths were not being cast to ints correctly for large playlists.
Livestream and channel bugfixes
- Implements an actual check for whether a video is a livestream, and raises an exception if it is.
- Fixes channel url matching for channels without canonical names.
Fix for 404 on get_video_info URL
-
Fixes the 404 issue by adding html5=1 as an additional query parameter to the get_video_info endpoint
-
Prepends the URL used with www. to avoid the redirect that occurs.