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

Option to print out webpage_url from playlist #17626

Closed
minyan opened this issue Sep 21, 2018 · 1 comment
Closed

Option to print out webpage_url from playlist #17626

minyan opened this issue Sep 21, 2018 · 1 comment

Comments

@minyan
Copy link

@minyan minyan commented Sep 21, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.18. 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 2018.09.18

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

Description of your issue, suggested solution and other information

Example playlist : https://www.vlive.tv/video/85595/playlist/82975
Example webpage_url :
1st index http://www.vlive.tv/video/85595
...and so on...
last index (30) http://www.vlive.tv/video/78186

Do i miss something or this option to print out webpage_url info is not exist ?
I know i can see the webpage_url in single json output. But the json content is not easily readable for me, nor i can easily extract the info i need.

@coreynicholson
Copy link
Contributor

@coreynicholson coreynicholson commented Sep 22, 2018

Not sure if youtube-dl supports this directly but one way to get the webpage_url from all the playlist entries is to pipe the json output to a tool called jq and extract that field from those entries.

Haven't tested it but something like the following should get you what you want:
youtube-dl https://www.vlive.tv/video/85595/playlist/82975 -J | jq .entries[].webpage_url

@dstftw dstftw closed this Sep 22, 2018
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.