Changeset 170
- Timestamp:
- 09/15/07 13:23:37 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/WebService-YouTube/trunk/lib/WebService/YouTube/Util.pm
r109 r170 10 10 use LWP::UserAgent; 11 11 use URI::Escape qw(uri_escape uri_escape_utf8); 12 use Encode ;12 use Encode (); 13 13 14 14 sub rss_uri { … … 81 81 return "http://youtube.com/get_video.php?$1"; 82 82 } 83 if ( $content =~ m{\bt:(['"])(.+?)\1}msx ) { 84 return "http://youtube.com/get_video.php?video_id=$video_id&t=$2"; 85 } 83 86 if ( $content =~ m{class="errorBox"[^>]*>\s*([^<]+?)\s*<}msx ) { 84 87 carp "$video_id: $1"; … … 230 233 =head1 LICENSE AND COPYRIGHT 231 234 232 Copyright 2006, Hironori Yoshida <yoshida@cpan.org>. All rights reserved. 233 234 This program is free software; you can redistribute it and/or modify it 235 under the same terms as Perl itself. See L<perlartistic>. 235 This module is free software; you can redistribute it and/or 236 modify it under the same terms as Perl itself. See L<perlartistic>. 236 237 237 238 =cut
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)