Skip to content

Youtube

Giuseppe Cannella edited this page Feb 19, 2020 · 4 revisions
Type name example
Youtube
https://www.youtube.com/watch?v=9bZkp7q19f0
HTTPS://www.youtube.com/watch?v=9bZkp7q19f0
HTTPS://www.youtube.com/watch?v=9bZkp7q19f0
https://WWW.youtube.com/watch?feature=something&v=videoid1&embed=something
www.youtube.com/watch?feature=something&v=videoid2&embed=something
Https://Www.youtube.com/watch?v=videoid1
youtube.com/watch?v=videoid4
https://www.youtube.com/channel/channelid1
https://www.youtube.com/user/username1
https://www.youtube.com/results?search_query=search+query1
youtube.com/results?search_query=search+query4
import com.github.gekomad.regexcollection.Validate.validate
import com.github.gekomad.regexcollection.Youtube
assert(validate[Youtube]("HTTPS://www.youtube.com/watch?v=9bZkp7q19f0") == Some("HTTPS://www.youtube.com/watch?v=9bZkp7q19f0"))
Clone this wiki locally