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] Video URL is incomplete when using --flat-playlist #12850

Closed
Rudloff opened this issue Apr 26, 2017 · 2 comments
Closed

[youtube] Video URL is incomplete when using --flat-playlist #12850

Rudloff opened this issue Apr 26, 2017 · 2 comments
Labels

Comments

@Rudloff
Copy link
Contributor

@Rudloff Rudloff commented Apr 26, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.04.26. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.04.26

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--dump-single-json', u'--flat-playlist', u'https://www.youtube.com/playlist?list=PLgdySZU6KUXKGoT_cwmapf_dZgO-X7p7q', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.04.26
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.7
[debug] exe versions: avconv 11.8-6, avprobe 11.8-6, rtmpdump 2.4
[debug] Proxy map: {}
{"extractor": "youtube:playlist", "_type": "playlist", "title": "Reviews", "extractor_key": "YoutubePlaylist", "webpage_url": "https://www.youtube.com/playlist?list=PLgdySZU6KUXKGoT_cwmapf_dZgO-X7p7q", "entries": [{"url": "ROC3CEv72Z0", "_type": "url", "ie_key": "Youtube", "id": "ROC3CEv72Z0", "title": "Review: Metal Gear Solid 3 Pachislots"}, {"url": "f6Y8QoHQlhI", "_type": "url", "ie_key": "Youtube", "id": "f6Y8QoHQlhI", "title": "Review: For Honor"}, {"url": "LMHfD1B78G0", "_type": "url", "ie_key": "Youtube", "id": "LMHfD1B78G0", "title": "An Annual Re-Review of Rainbow Six: Siege"}, {"url": "ghpgGwz7nEQ", "_type": "url", "ie_key": "Youtube", "id": "ghpgGwz7nEQ", "title": "Review: Owlboy"}, {"url": "IC1eACnI8eE", "_type": "url", "ie_key": "Youtube", "id": "IC1eACnI8eE", "title": "Review: Civilization VI"}, {"url": "o2iJLy-1IGg", "_type": "url", "ie_key": "Youtube", "id": "o2iJLy-1IGg", "title": "Review: Japanese Pachinko Parlors"}, {"url": "vr3QhamG6PY", "_type": "url", "ie_key": "Youtube", "id": "vr3QhamG6PY", "title": "Review: Japanese Gaming Restaurants"}, {"url": "Gzm5U4le0eg", "_type": "url", "ie_key": "Youtube", "id": "Gzm5U4le0eg", "title": "Pok\u00e9mon GO: Augmented Adventures"}, {"url": "OWFYccSCk0Y", "_type": "url", "ie_key": "Youtube", "id": "OWFYccSCk0Y", "title": "Review: Hyper Light Drifter"}, {"url": "RSHoVQqF0vI", "_type": "url", "ie_key": "Youtube", "id": "RSHoVQqF0vI", "title": "Review: Enter the Gungeon"}, {"url": "NFc5uEo31lY", "_type": "url", "ie_key": "Youtube", "id": "NFc5uEo31lY", "title": "Ratchet & Clank (The Remake) & Ratchet & Clank (The Original) & Ratchet & Clank (The Movie)"}, {"url": "XgNexYlnmcs", "_type": "url", "ie_key": "Youtube", "id": "XgNexYlnmcs", "title": "The Astounding Absurdity of Minecraft: Story Mode"}, {"url": "54SSWH8Mj88", "_type": "url", "ie_key": "Youtube", "id": "54SSWH8Mj88", "title": "The SNK Replay: 24 SNK Games Reviewed in 32 Minutes"}, {"url": "EyDuRUiNqgI", "_type": "url", "ie_key": "Youtube", "id": "EyDuRUiNqgI", "title": "Review: Salt & Sanctuary"}, {"url": "-kE9BR24XIw", "_type": "url", "ie_key": "Youtube", "id": "-kE9BR24XIw", "title": "The First Levels of Sonic Games"}, {"url": "WKDhuFliFB8", "_type": "url", "ie_key": "Youtube", "id": "WKDhuFliFB8", "title": "Review: Far Cry Primal"}, {"url": "b1dd0tV37xE", "_type": "url", "ie_key": "Youtube", "id": "b1dd0tV37xE", "title": "Bloodborne: The Old Hunters & Actually Good DLC"}, {"url": "Wx5dFd8GaNQ", "_type": "url", "ie_key": "Youtube", "id": "Wx5dFd8GaNQ", "title": "Review: Pony Island"}, {"url": "b8AQtI4iTD0", "_type": "url", "ie_key": "Youtube", "id": "b8AQtI4iTD0", "title": "Review: Rainbow Six: Siege"}, {"url": "n4-EnCc-JKk", "_type": "url", "ie_key": "Youtube", "id": "n4-EnCc-JKk", "title": "Retro Review: Star Wars: Tie Fighter"}, {"url": "7bH-1v-Yz9k", "_type": "url", "ie_key": "Youtube", "id": "7bH-1v-Yz9k", "title": "Games From my Inbox: Volume 3"}, {"url": "RTjY2CyLTV4", "_type": "url", "ie_key": "Youtube", "id": "RTjY2CyLTV4", "title": "Review: The Steam Link"}, {"url": "MXa7vl_c-ww", "_type": "url", "ie_key": "Youtube", "id": "MXa7vl_c-ww", "title": "Retro Review(s): Fatal Frame 1 & 2"}, {"url": "MGcB8CFUynk", "_type": "url", "ie_key": "Youtube", "id": "MGcB8CFUynk", "title": "Let's Review Mario Maker Fan Levels. What Could Possibly Go Wrong?"}, {"url": "Y6BPcSYibco", "_type": "url", "ie_key": "Youtube", "id": "Y6BPcSYibco", "title": "Review: SOMA"}, {"url": "KO4Tusk_V2k", "_type": "url", "ie_key": "Youtube", "id": "KO4Tusk_V2k", "title": "Metal Gear Solid V: Dissociative Disorder (Story analysis + Review)"}, {"url": "qn3b6Ezwgl8", "_type": "url", "ie_key": "Youtube", "id": "qn3b6Ezwgl8", "title": "Review: Act of Aggression"}, {"url": "v9y7TNLgRlk", "_type": "url", "ie_key": "Youtube", "id": "v9y7TNLgRlk", "title": "Review: Until Dawn"}, {"url": "Tp_TSdLGz60", "_type": "url", "ie_key": "Youtube", "id": "Tp_TSdLGz60", "title": "Retro Review: Mega Man Legends"}, {"url": "CXWbUJXAVE0", "_type": "url", "ie_key": "Youtube", "id": "CXWbUJXAVE0", "title": "Summing Up The Witchers"}, {"url": "lF860MCMUfQ", "_type": "url", "ie_key": "Youtube", "id": "lF860MCMUfQ", "title": "Replaying The Witchers: Part 2"}, {"url": "4CYfKWEKusg", "_type": "url", "ie_key": "Youtube", "id": "4CYfKWEKusg", "title": "Games From My Inbox: Volume 2"}, {"url": "ZohodiFCOTU", "_type": "url", "ie_key": "Youtube", "id": "ZohodiFCOTU", "title": "Replaying The Witchers"}, {"url": "NMQOtD7WKhg", "_type": "url", "ie_key": "Youtube", "id": "NMQOtD7WKhg", "title": "Retro Review: Castlevania: Symphony of the Night"}, {"url": "jPz-dAgXS1s", "_type": "url", "ie_key": "Youtube", "id": "jPz-dAgXS1s", "title": "Review: Broken Age"}, {"url": "rOX9QTWXtAc", "_type": "url", "ie_key": "Youtube", "id": "rOX9QTWXtAc", "title": "Review: Crypt of the NecroDancer"}, {"url": "cHnoA9JEIFk", "_type": "url", "ie_key": "Youtube", "id": "cHnoA9JEIFk", "title": "Review: Axiom Verge"}, {"url": "Ml3EdUJJOPw", "_type": "url", "ie_key": "Youtube", "id": "Ml3EdUJJOPw", "title": "Review: Pillars of Eternity"}, {"url": "D1jInKt688w", "_type": "url", "ie_key": "Youtube", "id": "D1jInKt688w", "title": "Review: Hotline Miami 2: Wrong Number"}, {"url": "ya8hyJnJzBU", "_type": "url", "ie_key": "Youtube", "id": "ya8hyJnJzBU", "title": "Retro Review: Policenauts"}, {"url": "df_ET25Z-EQ", "_type": "url", "ie_key": "Youtube", "id": "df_ET25Z-EQ", "title": "REmake vs. REmake Remake vs. Resident Evil"}, {"url": "T9AmX1Qfzpg", "_type": "url", "ie_key": "Youtube", "id": "T9AmX1Qfzpg", "title": "Games From My Inbox"}, {"url": "2rj7GY8Lxlw", "_type": "url", "ie_key": "Youtube", "id": "2rj7GY8Lxlw", "title": "Review: The Crew"}, {"url": "fnxdNncArdo", "_type": "url", "ie_key": "Youtube", "id": "fnxdNncArdo", "title": "Review: Wasteland 2"}, {"url": "jYvhj8e0LGI", "_type": "url", "ie_key": "Youtube", "id": "jYvhj8e0LGI", "title": "Review: Far Cry 4"}, {"url": "BNMH6TvduCc", "_type": "url", "ie_key": "Youtube", "id": "BNMH6TvduCc", "title": "Review: This War of Mine"}, {"url": "XV-hn0j8i7I", "_type": "url", "ie_key": "Youtube", "id": "XV-hn0j8i7I", "title": "Review: Call of Duty: Advanced Warfare"}, {"url": "jMo3ja0n8fo", "_type": "url", "ie_key": "Youtube", "id": "jMo3ja0n8fo", "title": "Review: Door Kickers"}, {"url": "gD4mUE2kTEQ", "_type": "url", "ie_key": "Youtube", "id": "gD4mUE2kTEQ", "title": "Review + Story Discussion: The Walking Dead (Season 2)"}, {"url": "eOrldO2YKWY", "_type": "url", "ie_key": "Youtube", "id": "eOrldO2YKWY", "title": "Review (?): The Angry Video Game Nerd: The Movie"}, {"url": "kIiZ977gpOU", "_type": "url", "ie_key": "Youtube", "id": "kIiZ977gpOU", "title": "Retro Review: Tom Clancy's Rainbow Six"}, {"url": "Vnh0l_Ecpx4", "_type": "url", "ie_key": "Youtube", "id": "Vnh0l_Ecpx4", "title": "Retro Review: System Shock 1"}, {"url": "G5X643abYu8", "_type": "url", "ie_key": "Youtube", "id": "G5X643abYu8", "title": "Review: Shovel Knight"}, {"url": "f8-w6UNBruE", "_type": "url", "ie_key": "Youtube", "id": "f8-w6UNBruE", "title": "Review: Valiant Hearts: The Great War"}, {"url": "RILVX9W3vRY", "_type": "url", "ie_key": "Youtube", "id": "RILVX9W3vRY", "title": "Review: Watch Dogs"}, {"url": "cHTbRsdIhN0", "_type": "url", "ie_key": "Youtube", "id": "cHTbRsdIhN0", "title": "Review: Transistor"}, {"url": "T_CYuVekb7E", "_type": "url", "ie_key": "Youtube", "id": "T_CYuVekb7E", "title": "Review: Sir, You Are Being Hunted"}, {"url": "zh5dGGIQXn8", "_type": "url", "ie_key": "Youtube", "id": "zh5dGGIQXn8", "title": "Review: Wargame: Red Dragon"}, {"url": "urpHwgOujcw", "_type": "url", "ie_key": "Youtube", "id": "urpHwgOujcw", "title": "Review: Resident Evil 4 Ultimate HD Edition PC"}, {"url": "-LFxWbvXFUY", "_type": "url", "ie_key": "Youtube", "id": "-LFxWbvXFUY", "title": "Review: Goat Simulator"}, {"url": "z8HG8bD5QKI", "_type": "url", "ie_key": "Youtube", "id": "z8HG8bD5QKI", "title": "Review: Banished"}, {"url": "7NC5cFvcWbA", "_type": "url", "ie_key": "Youtube", "id": "7NC5cFvcWbA", "title": "Review: Jazzpunk"}, {"url": "51idgi--0Uo", "_type": "url", "ie_key": "Youtube", "id": "51idgi--0Uo", "title": "Review: Metal Gear Rising: Revengeance (PC)"}, {"url": "-Uj2GWkv3SM", "_type": "url", "ie_key": "Youtube", "id": "-Uj2GWkv3SM", "title": "Review: X Rebirth"}, {"url": "apyzYGPAqSw", "_type": "url", "ie_key": "Youtube", "id": "apyzYGPAqSw", "title": "Review: Contrast"}, {"url": "7NRBB1YCbN8", "_type": "url", "ie_key": "Youtube", "id": "7NRBB1YCbN8", "title": "Review: Call of Duty: Ghosts (Campaign)"}, {"url": "VXFyLX6z0V8", "_type": "url", "ie_key": "Youtube", "id": "VXFyLX6z0V8", "title": "Review: The Stanley Parable"}, {"url": "L7ZvAcAezLs", "_type": "url", "ie_key": "Youtube", "id": "L7ZvAcAezLs", "title": "Review: Amnesia: A Machine for Pigs"}, {"url": "m4zrYD568d4", "_type": "url", "ie_key": "Youtube", "id": "m4zrYD568d4", "title": "Review: Divekick"}, {"url": "vU-0Ijj-ZHA", "_type": "url", "ie_key": "Youtube", "id": "vU-0Ijj-ZHA", "title": "Review: Gone Home"}, {"url": "3mNROSBJqio", "_type": "url", "ie_key": "Youtube", "id": "3mNROSBJqio", "title": "Review: Papers, Please"}, {"url": "3GbT_fyXUms", "_type": "url", "ie_key": "Youtube", "id": "3GbT_fyXUms", "title": "Review: Fist Puncher"}, {"url": "cFs2YS7Qn5o", "_type": "url", "ie_key": "Youtube", "id": "cFs2YS7Qn5o", "title": "Indie Review: Gunpoint"}, {"url": "2vXOdUiSL9U", "_type": "url", "ie_key": "Youtube", "id": "2vXOdUiSL9U", "title": "Review: Metro: Last Light"}, {"url": "860AtOpCxKk", "_type": "url", "ie_key": "Youtube", "id": "860AtOpCxKk", "title": "Let's Discuss: Indie Games About Work (Cart Life, Papers Please, I Get This Call Every Day)"}, {"url": "KFKR207dO5M", "_type": "url", "ie_key": "Youtube", "id": "KFKR207dO5M", "title": "Review: Bioshock Infinite"}, {"url": "yAIJvqD4nAA", "_type": "url", "ie_key": "Youtube", "id": "yAIJvqD4nAA", "title": "Review: Slender: The Arrival"}, {"url": "LA7DMiZsvSc", "_type": "url", "ie_key": "Youtube", "id": "LA7DMiZsvSc", "title": "Indie Review: Proteus"}, {"url": "0Y5iq4GDvFk", "_type": "url", "ie_key": "Youtube", "id": "0Y5iq4GDvFk", "title": "Indie Review: Antichamber"}, {"url": "mQaf-AQuqzs", "_type": "url", "ie_key": "Youtube", "id": "mQaf-AQuqzs", "title": "Review: DmC"}, {"url": "L9qXaArYoHw", "_type": "url", "ie_key": "Youtube", "id": "L9qXaArYoHw", "title": "Indie Review: Bleed"}, {"url": "KGMb-o0hJFg", "_type": "url", "ie_key": "Youtube", "id": "KGMb-o0hJFg", "title": "Indie Review: Super Hexagon"}, {"url": "vuUBNifTaPI", "_type": "url", "ie_key": "Youtube", "id": "vuUBNifTaPI", "title": "Indie Review: Intrusion 2"}, {"url": "yzy6_c7Hs9I", "_type": "url", "ie_key": "Youtube", "id": "yzy6_c7Hs9I", "title": "Retro Review: Metal Gear 2 (MSX)"}, {"url": "oXY8ANVtdNQ", "_type": "url", "ie_key": "Youtube", "id": "oXY8ANVtdNQ", "title": "Retro Review: Metal Gear (MSX)"}], "id": "PLgdySZU6KUXKGoT_cwmapf_dZgO-X7p7q", "webpage_url_basename": "playlist"}

Description of your issue, suggested solution and other information

When using --dump-single-json --flat-playlist on a Youtube playlist, the url of entries seems to be only the ID instead of the full URL.
It works correctly on other websites like Vimeo.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 26, 2017

This is expected.

@dstftw dstftw closed this Apr 26, 2017
@dstftw dstftw added the invalid label Apr 26, 2017
@McSinyx
Copy link

@McSinyx McSinyx commented May 15, 2017

Hello there, I'm developing a mpv & youtube-dl front-end. AFAIK, mpv only except an URL as input, so is there anyway I can get the URL from on entry of a flat playlist (e.g. {"url": "LMHfD1B78G0", "_type": "url", "ie_key": "Youtube", "id": "LMHfD1B78G0", "title": "An Annual Re-Review of Rainbow Six: Siege"}) w/o redownloading the webpage? I found YoutubeDL.extract_info but that is really slow on bad internet connection.

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
3 participants
You can’t perform that action at this time.