Skip to content
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

Enable additional playlist page type #71

Closed
wants to merge 1 commit into from

Conversation

imrehg
Copy link
Contributor

@imrehg imrehg commented Feb 9, 2011

Recently I was trying to download a few playlists from lectures shared by Stanford and MIT. The collections of playlists are at http://www.youtube.com/user/stanforduniversity#g/p and http://www.youtube.com/user/mit#g/p . Each of the playlists have a link in the format of http://www.youtube.com/user/stanforduniversity#g/c/9D558D49CA734A02 which is currently caught by the YoutubeUserIE and then tries to download all the videos from the user. Fixed up the URL regex, extracted the playlist id and translate the url into a view_play_list type which is already handled.

Not sure how many other user accounts have such playlist formats (probably only some of the heavy users) but this definitely would have saved me a lot of cut-and-paste earlier. :)

Some user pages have a different playlist format, e.g.:
http://www.youtube.com/user/stanforduniversity#g/c/9D558D49CA734A02
Extract playlist id and turn the URL into a format that is already
understood.
@imrehg
Copy link
Contributor Author

imrehg commented Feb 11, 2011

Sent fixed up request.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants