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

How does the youtube search work? #197

Closed
Botspot opened this issue Dec 12, 2020 · 4 comments
Closed

How does the youtube search work? #197

Botspot opened this issue Dec 12, 2020 · 4 comments

Comments

@Botspot
Copy link

Botspot commented Dec 12, 2020

youtube-dl doesn't appear to have a youtube search feature.
It appears you can give youtube-dl a keyword to search for, but then it will download the top X results!

That's not what I want.

I only want search results, containing the title of the video, and the URL. How does TBOPlayer's YT search function work? Does it use youtube-dl or something else?

@Botspot
Copy link
Author

Botspot commented Dec 12, 2020

Okay update: I've made tremendous progress with youtube-dl at Botspot/pi-apps#116 (comment)

@Botspot
Copy link
Author

Botspot commented Dec 16, 2020

It's about finished!
YouTubuddy is one awesome tool, and it takes TBOPlayer's search function to the next level.
2020-12-15-220913_1920x1080_scrot

@Botspot Botspot closed this as completed Dec 16, 2020
@heniotierra
Copy link
Collaborator

Hi, @Botspot ! Now TBOPlayer uses a lib (youtube-search-python) for this, not youtube-dl. I didn't know youtube-dl had a search function. I guess I can have a look at it when I have the time. Thank you!

@Botspot
Copy link
Author

Botspot commented Dec 16, 2020

Hi, @Botspot ! Now TBOPlayer uses a lib (youtube-search-python) for this, not youtube-dl. I didn't know youtube-dl had a search function. I guess I can have a look at it when I have the time. Thank you!

You're welcome for the info. Feel free to take a look at how YouTubuddy's bash script does it, and if you have any questions let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants