Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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
LanX pity there is no Germs embassy ...
[choroba]: LanX We merged them to save money.
[LanX]: AnomalousMonk: yeah the asteroid but not the god, right?
[jedikaiti]: :-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (15)
As of 2017-11-22 17:13 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.