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

Async ytsearch5 #21671

Closed
nadal28 opened this issue Jul 6, 2019 · 2 comments
Closed

Async ytsearch5 #21671

nadal28 opened this issue Jul 6, 2019 · 2 comments
Labels

Comments

@nadal28
Copy link

@nadal28 nadal28 commented Jul 6, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Hello, I would like to know if is possible to make youtube-dl ytsearch5:"searchQuery" --get-id to run in async manner because I only want an info list about those videos(no ffmpeg).
For now, it takes up to 7 seconds to retrieve info about 5 videos instead of to do 5 simultaneous request.

Thanks in advance

@nadal28 nadal28 added the question label Jul 6, 2019
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 6, 2019

--get-id will not run any ffmpeg or download anything apart from metadata. If you want to run it async (whatever that means for your) then it's your responsibility to do so. It won't make it any fasted though.

@dstftw dstftw closed this Jul 6, 2019
@nadal28
Copy link
Author

@nadal28 nadal28 commented Jul 8, 2019

@dstftw Hello, thanks for your response.
Look at the following: https://i.imgur.com/YggOeJo.jpg
Im searching 3 videos, but it takes too much time. Why? Because the script goes video by video scrapping them, instead of scrape the three at the same time.
Imagine about try to get 10 videos..., any solution on this?

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.