Tool for downloading websites.
Go to file
2020-10-12 20:56:20 +02:00
.github/workflows ci: Check before build, build needs lint (#90) 2020-07-02 15:56:18 +02:00
src Remove hash fragment from scraped URLs (#100) 2020-10-12 16:17:50 +02:00
tests fix: Use CARGO_BIN_EXE instead of hardcoded path for tests (#98) 2020-10-12 13:43:10 +02:00
.gitignore feature: Add random (#66) 2020-05-06 14:44:04 +02:00
Cargo.lock cargo: Add caret requirements (#93) 2020-08-31 16:52:40 +02:00
Cargo.toml cargo: Add caret requirements (#93) 2020-08-31 16:52:40 +02:00
LICENSE-APACHE Rename LICENSE to LICENSE-APACHE 2020-04-29 23:51:14 +02:00
LICENSE-MIT Create LICENSE-MIT 2020-04-29 23:53:17 +02:00
README.md readme: Update README about installation from AUR (#101) 2020-10-12 20:56:20 +02:00
suckit_logo.png logo: Uncrop logo 2020-04-29 23:21:45 +02:00

Build and test

SuckIT

SuckIT allows you to recursively visit and download a website's content to your disk.

SuckIT Logo

Features

  • Vacuums the entirety of a website recursively
  • Uses multithreading
  • Writes the website's content to your disk
  • Enables offline navigation
  • Offers random delays to avoid IP banning
  • Saves application state on CTRL-C for later pickup

Options

Option Behavior
-h, --help Displays help information
-v, --verbose Activate Verbose output
-d, --depth Specify the level of depth to go to when visiting the website
-j, --jobs Number of threads to use
-o, --output Output directory where the downloaded files are written
-t, --tries Number of times to retry when the downloading of a page fails
-u, --user-agent User agent to be used for sending requests
-i, --include Specify a regex to include pages that match this pattern
-e, --exclude Specify a regex to exclude pages that match this pattern
-a, --auth Provide usernames and passwords for the downloader to use

Example

A common use case could be the following:

suckit http://books.toscrape.com -j 8 -o /path/to/downloaded/pages/

asciicast

Installation

As of right now, SuckIT does not work on Windows.

To install it, you need to have Rust installed.

  • Check out this link for instructions on how to install Rust.

  • If you just want to install the suckit executable, you can simply run cargo install --git https://github.com/skallwar/suckit

  • Now, run it from anywhere with the suckit command.

Arch Linux

suckit can be installed from available AUR packages using an AUR helper. For example,

yay -S suckit

Want to contribute ? Feel free to open an issue or submit a PR !

License

SuckIT is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0)

See LICENSE-APACHE and LICENSE-MIT for details.