NAME
WWW::Rediff::iShare - get ishare.rediff.com audio and video stream URL and download it to your system
SYNOPSIS
## Stream types are
## for audio : audio
## for video : video
use WWW::Rediff::iShare;
my $iShare = WWW::Rediff::iShare->new();
my $stream_data = $iShare->get_stream_url('Jaane Tu Mera','audio');
if($stream_data)
{
for my $a (@{$stream_data})
{
print Dumper$a;
}
}
## to download flv file
$iShare->download('file_id','stream-type');
Output would be like this : $VAR1 = { 'stream_url' => 'http://ishare.rediff.com/audio_config_REST.php?audioid=10052411&autoplay=true', 'video_icon' => 'http://datastore.rediff.com/briefcase/666659675F5C6B27636E645E7064/SHFC_1-2557-11.mp3-0001.png', 'embedded_code' => ' <embed width="100%" height="322" wmode="transparent" type=\'"application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" name="aplayer" flashvars="audioURL=http://ishare.rediff.com/audio_config_REST.php?audioid=10052411&autoplay=true" src="http://ishare.rediff.com/images/saplayer2101.swf"/>', 'download_path' => 'http://datastore.rediff.com/briefcase/666659675F5C6B27636E645E7064/SHFC_1-2557-11.mp3.flv', 'title' => 'Tu Hi Mera Jaanam Jani Tu Hi Mera Pranam', 'file_id' => '10052411' };
my $iShare = WWW::Rediff::iShare->new();
my $stream_data = $iShare->get_stream_url('song title','stream_type');
DESCRIPTION
Get Audio and Video Streaming url form Rediff iShare and download it. Downloaded file is of extension .flv
SEE ALSO
WWW::Live365, WWW::YouTube::VideoURI, FLV::ToMP3
AUTHOR
Rakesh Kumar Shardiwal, <shardiwal at cpan.org>
BUGS
Please report any bugs or feature requests to bug-www-rediff-ishare at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Rediff-iShare. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::Rediff::iShare
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2008 Rakesh Kumar Shardiwal, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.