The Extractor API allows you to build your own stream extractor for **Discord Player**.
# Example Extractor
Your extractor should have 2 methods (required):
-`validate(query): boolean`
This method is called by Discord Player while validating the query provided via `Player.play()`. (Note that only `string` queries are passed to your extractor)
-`getInfo(query): object`
This method is used by Discord Player to create `Track` object. You can return your data here that gets passed to `Track`.
This extractor is based on **[YouTube DL](https://youtube-dl.org)**. This extractor enables `700+ websites` support. However, this extractor can get buggy and is not updated frequently. So, it is suggested to make your own extractor if you want to use it!