/usr/share/perl5/FlashVideo/Site/Movieclips.pm is in get-flash-videos 1.25.98-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # Part of get-flash-videos. See get_flash_videos for copyright.
package FlashVideo::Site::Movieclips;
use strict;
use FlashVideo::Utils;
sub find_video {
my ($self, $browser, $embed_url) = @_;
my $video_id = ($browser->content =~ /<meta name="video_id" content="([^"]+)"/i)[0];
debug "video_id = " . $video_id;
$browser->get("http://config.movieclips.com/player/config/embed/$video_id/?loc=US");
my $xml = from_xml($browser->content);
my $playpath = $xml->{video}->{properties}->{file_path};
my $title = $xml->{video}->{properties}->{clip_title};
debug $playpath;
debug title_to_filename($title);
return {
flv => title_to_filename($title, 'flv'),
swfUrl => "http://static.movieclips.com/embedplayer.swf?shortid=$video_id",
app => "ondemand",
rtmp => "rtmp://media.movieclips.com",
playpath => $playpath
};
}
1;
|