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

Retrieve title while downloading with progress report via CLI #26980

Closed
0xpr03 opened this issue Oct 22, 2020 · 1 comment
Closed

Retrieve title while downloading with progress report via CLI #26980

0xpr03 opened this issue Oct 22, 2020 · 1 comment

Comments

@0xpr03
Copy link

@0xpr03 0xpr03 commented Oct 22, 2020

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.09.20
  • I've searched the bugtracker for similar site feature requests including closed ones
    Others got closed without much of a glimpse of the problem.

Description

It's currently not possible to my knowledge to do the following in one go:

  • download a video
  • get realtime progress output
  • get title information
    all in one run without having to run ytdl multiple times, creating additional roundtrips to the source server.

I can run ytdl multiple times for this to run --print-json and then run it normally. But it's a waste of possible youtube DoS blocks and can take additional multiple seconds to complete.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 22, 2020

Embed as python, add progress hooks, return data in whatever form you need.

@dstftw dstftw closed this Oct 22, 2020
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.