See https://github.com/JunkFood02/Seal/pull/29 for a workaround. More specifically, use -I to obtain info of items in playlists. I haven't used searching in yt-dlp but you may parse the response in a similar way.
Thank you. I found out that for search you need to do this
request.addOption("--default-search", "ytsearch25"); number in the end gives you the number of results
See https://github.com/JunkFood02/Seal/pull/29 for a workaround. More specifically, use
-I
to obtain info of items in playlists. I haven't used searching in yt-dlp but you may parse the response in a similar way.