Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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='http://www.youtube.com/watch?v=q1wK0r51ARs'; 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
THANKS IN ADVANCE

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016098]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (18)
As of 2015-07-07 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (92 votes), past polls