forked from pytube/pytube
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch update from upstream #1
Open
chanstev
wants to merge
82
commits into
chanstev:master
Choose a base branch
from
pytube:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This should speed up downloads for most users to some extent.
* Implements a Channel object for downloading videos from a YouTube channel. * Minor changes to the playlist class to make it more compatible to be subclassed. * `.videos` and `.video_urls` now behave just like iterable lists, but defer web requests. * Implements DeferredGeneratorList which converts generators to lazy list-like objects.
* Added channel id and channel url properties to YouTube object. * Added some metadata to playlist object: - owner - owner_id - owner_url - description - length - views
* HTTP 404 Error fix by adding html5 parameter to get_video_info requests * Add `www.` to URL to avoid redirect request.
* 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.
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.4 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@1.26.4...1.26.5)
* Docstring improvements * Documentation for the channel object * Additional metadata available from the channel object, with unit tests
* Adds support for additional channel URL patterns
* Temporary workaround for get_video_info issue by adding more parameters to `get_video_info` call.
* Adds functionality for interacting with certain endpoints of the innertube API.
* JS emulation for calculating n value for stream URLs to fix throttling issue. * Made parser HTMLParseError more informative. * Add support for bracket start to parser. * Helper for auto-generating necessary json files. * Removed test that no longer seems to work.
* Added search functionality. * Added repr method to YouTube to make it more useful. * Added some docstrings + comments for clarity.
* 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.
* Update mock so that stream raises HTTPError, rather than head, and simplified some other mocks. * pep8-naming updated, adding a new ignore
* 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
* 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.
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.
`caption.json_captions` — Download and parse the "json3" caption tracks
`YouTube.from_id` — YouTube object with just the video id
Update itags.py
Adding list data type to 'res' parameter of filter() function.
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.
Integrate fix from last PR
Fix parser py
remove 3.6 support (reached end-of-life)
Remove 3.6 support, add 3.10-3.11
add 3.10-3.11 support
Add code of conduct
fixed missing space in --ffmpeg and --audio help sections
Need to import `VideoUnavailable` exception.
remove 3.10 library since it sometimes gets confused for 3.1 by CI tool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.