$self->{'NAME'} = 'youtube';
$self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*youtube.(?:com|de|co.uk)/watch\?(?:.+=.+&)*v=([-a-zA-Z0-9_]+))',
'(http://(?:[-a-zA-Z0-9_.]+\.)*youtube.(?:com|de|co.uk)/v/([-a-zA-Z0-9_]+))'];
- $self->{'_PARAMS'} = {'QUALITY' => ['normal', 'Quality of the video to download. normal = standard resolution flash video, high = higher resolution flash video, h264 = high resolution MPEG4 video, hd = HD720 resolution'], 'USERNAME' => ['', 'Username to use for YouTube login'], 'PASSWORD' => ['', 'Password to use for YouTube login']};
+ $self->{'_PARAMS'} = {
+ 'QUALITY' => ['normal', 'Quality of the video to download.', {
+ 'normal' => 'standard resolution flash video',
+ 'high' => 'higher resolution flash video',
+ 'h264' => 'high resolution MPEG4 video',
+ 'hd' => 'HD720 resolution'}],
+ 'USERNAME' => ['', 'Username to use for YouTube login'],
+ 'PASSWORD' => ['', 'Password to use for YouTube login']};
bless($self, $class);
$self->_prepare_parameters();