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

Request feature to get video count of a playlist #15791

Closed
blueray453 opened this issue Mar 7, 2018 · 3 comments
Closed

Request feature to get video count of a playlist #15791

blueray453 opened this issue Mar 7, 2018 · 3 comments
Labels

Comments

@blueray453
Copy link

@blueray453 blueray453 commented Mar 7, 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.03.03. 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.03.03

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

Feature Request

know the number of videos in a playlist.

Something with the following input
youtube-dl -u user -p password --playlist-details '%(playlist_title)s : %playlist_count' https://www.udemy.com/java-tutorial/

Expected Sample Output
Java Tutorial for Complete Beginners : 43

Helpful Information

For Ex. when I start downloading a playlist, it shows
Course Name: Collected 61 video ids

So I guess the variables are somewhere in the program. We just have to make it easily accessible.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 7, 2018

I've already pointed out: extract JSON and count the number of entries in corresponding array.

@dstftw dstftw closed this Mar 7, 2018
@dstftw dstftw added the duplicate label Mar 7, 2018
@blueray453
Copy link
Author

@blueray453 blueray453 commented Mar 7, 2018

How to count the entries in corresponding array?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 7, 2018

Read docs on standard library of the language you use.

@ytdl-org ytdl-org locked and limited conversation to collaborators Mar 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.