Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

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


In reply to WWW::YouTube::Download progress bar,multi-threading and installer? by ansh batra

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others examining the Monastery: (8)
    As of 2014-07-30 10:10 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (230 votes), past polls