Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

WWW::YouTube::Download progress bar,multi-threading and installer?

by ansh batra (Friar)
on Jan 30, 2013 at 16:56 UTC ( #1016098=perlquestion: print w/replies, xml ) Need Help??
ansh batra has asked for the wisdom of the Perl Monks concerning the following question:

hello monks
i have created a very basic youtube downloader

#!/usr/bin/perl use WWW::YouTube::Download; my $client = WWW::YouTube::Download->new; my $video_id=''; my $video_url = $client->get_video_url($video_id); my $suffix = $client->get_suffix($video_id); my $title = $client->get_title($video_id); print "Downloading video $title\n"; $client->download($video_id, { filename => 'vedios//{title}.{suffix}', # maybe `video_title.mp4 +` }); print "Download Complete\n"; exit;

i want to add following features to it.
1. add a progress bar window
2. allow user to download multiple videos
3. and in the end i want to make it a setup which will install my application on a machine which doesnt have perl and the modules which i am using in the application. i am a newbie and dont know how to convert perl code to the setup

please suggest me how shall i work on this and also which are the best modules suited for this task

  • Comment on WWW::YouTube::Download progress bar,multi-threading and installer?
  • Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016098]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-03-28 05:31 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (327 votes). Check out past polls.