WWW::Rediff::iShare - get ishare.rediff.com audio and video stream URL and download it to your system
## Stream types are ## for audio : audio ## for video : video use WWW::Rediff::iShare; use Data::Dumper; my $iShare = WWW::Rediff::iShare->new(); my $stream_data = $iShare->search('<SONG NAME>','<STREAM TYPE>'); if(ref($stream_data) eq 'ARRAY') { foreach my $song (@{$stream_data}) { print "Song Title " . $song->{comment}, "\n"; print "Song ID " . $song->{file_id}, "\n"; print "Download path " . $song->{path}, "\n"; } }else{ print $stream_data; } ## To Download song $iShare->download('<song id>'); ## To Get HTML code to embedded this song to your webpage my $html_code = $iShare->get_player_embedded_code('<song id>');
Get Audio and Video Streaming url form Rediff iShare and download it. Audio file will be download as .MP3 and Video file will be download as .flv
The following functions are provided by this module:
Constructor.
The search() function will search the given song based on specified stream type and return you and array of songs found. It returns No result found if it nothing found. The $stream_type argument can be either audio or video .
No result found
audio
video
Download the given song id. If the song stream is audio it download a mp3 file otherwise it will download .flv file. Song id can get from Search function.
This function will get you html code to embedded this song to you webpage.
Rakesh Kumar Shardiwal, <shardiwal at cpan.org>
<shardiwal at cpan.org>
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.
bug-www-rediff-ishare at rt.cpan.org
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
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Rediff-iShare
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Rediff-iShare
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Rediff-iShare
Search CPAN
http://search.cpan.org/dist/WWW-Rediff-iShare/
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.
WWW::Live365, WWW::YouTube::VideoURI, FLV::ToMP3
To install WWW::Rediff::iShare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Rediff::iShare
CPAN shell
perl -MCPAN -e shell install WWW::Rediff::iShare
For more information on module installation, please visit the detailed CPAN module installation guide.