URLs
Yt::URL
is a convenience class to identify YouTube resources based on their URL patterns:
Configuration
Yt::URL
is not part of the yt
library, but comes from the yt-url extension.
To use in any bundled Ruby project, remember to add the line gem 'yt-url', '~> 0.0.0'
to its Gemfile.
Authentication
Using Yt::URL
does not require authentication since it is based on matching a set of hard-coded patterns: