-
Notifications
You must be signed in to change notification settings - Fork 320
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
Use gdata.youtube.com for get_playlist; support more than 200 songs #72
Conversation
This also removes some parameters unused by either pafy or mpsyt that seemed difficult to implement with the new API.
|
|
Here is what I have not implemented:
Playlist parameters:
Some of these may be easy to add back, while others seem to be missing from YouTube's response. Edit: It looks like some of the trouble is the playlist I have been using. I will see what can be fixed. |
|
|
@np1 Have you looked at the changes here? It does not provide all the data the currently implementation does, so it is probably not ready to merge. As far as I can tell, playlist likes and dislikes are not available with the new api. I can't find that on youtube.com either, so the feature was probably removed. Some of the others may also not be available with the new api,. |
Nope I haven't had a chance to look at it yet. Thanks for the PR. I will try to get to it soon. |
I am reluctant to include any changes that use gdata v2 because it will be turned off in the coming months. "Note: The YouTube Data API (v2) has been deprecated as of February 26, 2014. In keeping with our deprecation policy, most API functionality that was subject to that policy will continue to be available until April 20, 2015. Support for some API features may be discontinued earlier if the corresponding features are also removed from YouTube prior to that date. See the Deprecation FAQ for answers to frequently asked questions about the deprecation." Using v3 of the api requires obtaining a key for most request types - and obtaining a key requires agreeing to not access YouTube in the way that pafy does. Some things specifically prohibited;
https://developers.google.com/youtube/2.0/developers_guide_protocol_deprecated I'm not sure how best to proceed at the moment.. |
Version 3 of the api should be more similar to version 2 than what is currently used, so this is a step towards using that version. The TOS could be problematic, but I don't know what can be done. |
Superseded by #127. |
This fixes #71.
This also removes some parameters unused by either pafy or mpsyt that
seemed difficult to implement with the new API.
There may be issues that need fixing. If nothing else, the definition of vid_data looks quite ugly.
Edit: The parameters I deleted should be added if possible.