[vox-tech] download manager c++ code

Gandalf Parker gandalf at any1can.net
Tue Jun 23 12:09:41 PDT 2009


On Mon, Jun 22, 2009 at 10:30:46PM -0500, Ken Bloom wrote:
> On Mon, 2009-06-22 at 22:12 -0400, Hai Yi wrote:
> > 
> > I am looking for some c++ component or snippet, which is basically a
> > download manager. For example, when a url link of youtube is feeded,
> > the corresponding video file will be downloaded.
> 
> Unfortunately, your example (of a YouTube download) is not the same as
> the general case of a direct link, because downloading a YouTube video
> isn't a direct link.

I just use wget (which I notice wasnt listed in the apt-get list) as a command-line downloader. There are some examples online of using wget with youtube which simply involves parsing the first webpage response to get the direct name of the file then downloading it and renaming it to put the proper extension on it.

Gandalf  Parker


More information about the vox-tech mailing list