Zeiver is designed to scrape and download content recursively from static ODs (open directories). It also provides a means of recording links and scanning ODs for content.
*Zeiver does not download the entire OD itself, only the files.
For dynamic ODs (JavaScript focused Open Directories) use Zyod!
For ease of use, check out the Zeiver configurator.
Zeiver currently has 4 major modules:
- Grabber (HTTP)
- Grabs content from the internet. (Webpage,files,etc)
- Scraper
- Recursively grabs all links from an OD.
- Downloader
- Downloads content retrieved from Scraper (or from a file)
- Recorder
- Saves a record of all files that were found in the OD
- Records are saved to a file called URL_Records.txt. Name can be
changed using
--output-record
- Creates stat files (JSON files containing statistical data about what was retrieved)
All components can be used independently.
The Grabber module repeatedly grabs a webpage for the Scraper to parse (based on parameters). The Scraper identifies the type of scrape method to use from the webpage and recursively scrapes the links from them. Afterwards, the links are either sent to the Recorder (Disabled by default), specified with:
--record-only
--record
AND/OR
Downloader (Enabled by default). The Downloader uses the Grabber to download the files' data from the internet. The Downloader then writes the data to a newly created files.
- Uses asynchronous runtime.
- Random & fixed delays of HTTP requests.
- Ability to customize how files retrieved or not.
- Scans an OD for content while transparently displaying the traversal process.
- Cross-platform support
Supported ODs can be found in the wiki page.
To install/update Zeiver follow these steps:
-
Install Rust.
- If Rust is not installed, please follow the instructions here
-
Once Rust is installed, open a CLI & type
cargo install --branch main --git https://github.com/ZimCodes/Zeiver
- This will install Zeiver from Github
-
And that's it! To use Zeiver, start each command with
zeiver
.
*To remove Zeiver, open a CLI & type cargo uninstall zeiver
.
The following code downloads files from example.com/xms/imgs, saves them in a local directory called Cool_Content, & sends a request with the ACCEPT-LANGUAGE header.
zeiver -H "accept-language$fr-CH, en;q=0.8, de;q=0.7" -o "./Cool_Content" https://example.com/xms/imgs
Check out the wiki page for a list of commands to use.
Having trouble entering a long URL in the terminal? Place them inside an input file and use --input-file
instead.
Trying using the --all-certs
option, but be wary with this option.
Some ODs will send Zeiver HTML Documents without any content (links to files/folders) from the OD. This is because Zeiver retrieves an HTML Document without JavaScript & some ODs will not work without it.
Zeiver is licensed under the MIT and Apache 2.0 Licenses.
See the MIT and Apache-2.0 for more details.