ruoxi520chenxi / downloader

Asynchronous event-driven downloader for HTTP/HTTPS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

downloader

downloader is an asynchronous event-driven downloader for HTTP/HTTPS which runs under Linux, FreeBSD, NetBSD, OpenBSD, DragonFly BSD, Solaris and Minix.

downloader checks periodically whether there is a new file with URLs, when one is found, it downloads <max-connections> URLs at a time and saves them in the directory <data>.

The format of the saved files is:

 <URL>
 Status-Line
 *(message-header)
 <empty-line>
 [message-body]

The usage is:

Usage: ./downloader [OPTIONS]

Options:
  --urls-file <filename> (default: urls.txt).
  --dir <directory> (default: data/).
  --max-connections <max-connections> (1 - 2048, default: 100).
  --user-agent <user-agent> (default: "").

downloaded_file_processor

The downloaded_file_processor extracts all the absolute URIs of a downloaded file.

The usage is:

Usage: ./downloaded_file_processor <filename>

About

Asynchronous event-driven downloader for HTTP/HTTPS.


Languages

Language:C++ 98.9%Language:Makefile 0.9%Language:C 0.2%