Closed LackyPal closed 3 years ago
youtube-dl
doesn't provide any functions to validate it (can use extractors name but its accuracy is not high).
You can use ytdl/ytpl for youtube url or _resolveSong()
method to get the info and return false if there is an error.
But get the info with youtube-dl
is quite slow that why I don't provide this feature.
Okey
Something to check if this url can be played by distube or not