1 unstable release

Uses new Rust 2024

new 0.2.0 May 16, 2025

#816 in Web programming

MIT/Apache

71KB
518 lines

httpdirectory's readme

This project is in an early stage of development.

Description

This library provides a convenient way to scrape directory indexes and get a structure that abstracts it. For instance one may have the following website:

Directory of cloud.debian.org/images/cloud/ website

The library will insert in an HttpDirectory structure all the information that is to say, name, link, size and date of files or directories. Printing it will produce the following output:

https://cloud.debian.org/images/cloud/
DIR      -                    ..
DIR      -  2024-07-01 23:19  OpenStack/
DIR      -  2025-04-28 21:33  bookworm-backports/
DIR      -  2025-04-28 20:53  bookworm/
DIR      -  2025-05-12 23:57  bullseye-backports/
DIR      -  2025-05-12 23:22  bullseye/
DIR      -  2024-07-03 21:46  buster-backports/
DIR      -  2024-07-03 21:46  buster/
DIR      -  2024-04-01 14:20  sid/
DIR      -  2019-07-18 10:40  stretch-backports/
DIR      -  2019-07-18 10:40  stretch/
DIR      -  2023-07-25 07:43  trixie/

Dependencies

~10–22MB
~296K SLoC