downloader
downloader copied to clipboard
Asynchronous event-driven downloader for HTTP/HTTPS.
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>