-
Notifications
You must be signed in to change notification settings - Fork 19
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
youtube-search.lua: Use yt-dlp instead of curl+API #22
Comments
Is there a way of getting channel information for each video as well? |
Yes, a small issue is short videos doesn't return channel name, but shorts are irrelevant so we can just group NA as Shorts:
|
Just in case you want to get more channel information, try:
Adding |
#####################################
Is this a request for a brand new script?
If so please make a Discussion thread instead
#####################################
Is your feature request related to a problem? Please describe.
I like the idea of being able to search and browse Youtube infinitely, but having to enter API key is a bit rough, yt-dlp support searching out-of-the-box and doens't require API at all.
Describe the solution you'd like
Use yt-dlp instead, with --flat-playlist it's very very fast:
yt-dlp ytsearch10:SEARCH --get-id --get-title --flat-playlist
10
= number of result, of course it must be used with --flat-playlist to increase searching speed by ten forth.Describe alternatives you've considered
yt-dlp instead of curl+API
Additional context
Should be good enough information.
The text was updated successfully, but these errors were encountered: