Skip to content

Latest commit

 

History

History

indexof-download

Index Of Download

Download files from index of directory

Peek 2024-04-21 11-09

Features

  • Caching for fast reuse
  • Download all files
  • Download specific files
  • Filter files

Usage:

usage: main.py [-h] [-o OUTPUT] [-nc] [-g GREP] url

Download index of files recursively

positional arguments:
  url                   Index of path. Example: http://example.com/index/of/path

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Folder to download files inside
  -nc, --no-cache       ignore cache
  -g GREP, --grep GREP  filter by a term

./main.py http://example.com/index/of/path

Running

Install python3 venv

sudo apt-get install python3.10-venv

Init the environment

python3 -v venv venv

Activate the environment

source ./venv/bin/activate

Install requirements

pip install -r requirements.txt

Run the software

./main.py http://example.com/path/to/index/of/folder