# dhref
[](https://crates.io/crates/dhref)
**Download files embed to a page through relative/root-relative URLs, from your terminal.**
### Description
The program scrapes the url page specified for the hyperlink with
relative/root-relative URLs and asynchronously downloads files filtered
by the filetype specified in the input.
### FileTypes
* PDF
* XLSX
* DOCX
* DOC
* CSV
* PPT
* PPTX
* ALL OF ABOVE
### Examples
```bash
dhref ftype pdf/PDF
dhref ftype csv/CSV
dhref -o ./ -f pdf
dhref -o ./out -f csv
```
### Install
```bash
cargo install dhref
```
### Help
```bash
dhref --help
dhref 0.2.0
Kostas L.
Download files embed in a page through
relative and root-relative hyperlinks.
USAGE:
dhref [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f File suffix for the type of files to be searched( e.g pdf,doc,csv). (Optional)
-o Relative path for the folder to place the output. (Optional)
ARGS:
Http page url to be scraped. (Required)
```