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

YouTube: -j --flat-playlist with channel URL doesn't get titles; with user URL it does #4971

Closed
alphapapa opened this issue Feb 17, 2015 · 1 comment
Labels

Comments

@alphapapa
Copy link
Contributor

@alphapapa alphapapa commented Feb 17, 2015

I just updated to 2015.02.17.2. I noticed that YouTube /channel/ URLs are handled differently than /user/ URLs. When I use -j --flat-playlist, the video titles are retrieved for the /user/ URLs, but not for the /channel/ URLs:

$ youtube-dl -j --flat-playlist --get-title https://www.youtube.com/channel/UCFVw1U1qk5WVEAOOS9v8S-A
{"url": "0DfMvzK24Vk", "_type": "url", "ie_key": "Youtube", "id": "0DfMvzK24Vk"}
...

$ youtube-dl -j --flat-playlist https://www.youtube.com/user/rhettandlink2
{"url": "s1_7n3c6tLU", "_type": "url", "ie_key": "Youtube", "id": "s1_7n3c6tLU", "title": "6 Weird But Real Companies"}
...

This is inconvenient, because I have a wrapper script that uses youtube-dl to download playlist data and videos, and this requires handling the two URL types differently. It seems like the two URLs should output the same data when retrieved with the same youtube-dl options.

Thanks for your work on youtube-dl!

@alphapapa
Copy link
Contributor Author

@alphapapa alphapapa commented Apr 12, 2015

I've also just discovered that it's happening with /playlist URLs, like https://www.youtube.com/playlist?list=PLSUHnOQiYNg0R1v172bDcwQi8NRvdgA6_.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.