pgdl: browse directory listing webpages and download files from them.

[ network, program, public-domain ] [ Propose Tags ] [ Report a vulnerability ]

pgdl is a program for viewing and accessing directory listing webpage in terminal.

Browsing files on directory listings like https://www.kernel.org/pub/ is often annoying and hard to find the sutff we want.

pgdl provids a simple interface for browsing and downloading the files in web-engine-generated directory listings.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 7.0, 7.3, 7.4, 7.5, 7.6, 7.77, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, 9.0, 9.1, 9.2, 9.3, 10.0, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 (info)
Dependencies base (>=4 && <5), binary (>=0.7), brick (>=0.19 && <0.37), bytestring, Cabal, conduit (<1.3), conduit-extra, configurator (>=0.3), containers, directory, directory-listing-webpage-parser (>=0.1.1.0), filepath, http-conduit (<2.3), http-types, microlens, process, resourcet, tagsoup, text, time, transformers, unix, vector, vty [details]
Tested with ghc ==8.0.2, ghc ==8.2.2
License LicenseRef-PublicDomain
Author mingchuan
Maintainer mingchuan
Revised Revision 1 made by sifmelcara at 2018-04-01T10:54:46Z
Category Network
Source repo head: git clone https://github.com/sifmelcara/pgdl
Uploaded by sifmelcara at 2018-01-15T17:33:34Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables pgdl
Downloads 22059 total (37 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-01-15 [all 2 reports]

Readme for pgdl-10.10

[back to package description]

pgdl

Build Status

What can this program do?

pgdl is a program for viewing and accessing directory listing webpage in terminal.

Browsing files on directory listings like this is often annoying and hard to find the files we want.

pgdl provids a simple interface for browsing and downloading the files in web-engine-generated directory listings.

Installing

by cabal:

cabal update
cabal install pgdl

In case of the versions of dependencies cannot be resolved, you may need to rm -rf ~/.ghc.

via nix:

git clone https://github.com/sifmelcara/pgdl.git
cd pgdl
nix-env -i -f pgdl.nix

example usage

pgdl https://www.kernel.org/pub/linux/

or simply type pgdl if you have set servpath attribute in the config file (config file will be explained later).

Shortcut keys

'/' for file searching

press Enter to download the selected file

press 'q' to quit the program

press 'd' to delete currently selected file (which have been downloaded)

press Meta+Enter to resume the download progress of the currently selected file (like curl -C does)

Config file

If you want to access webpage that uses basic authentication, you should at least set username attribute in config file. (if password is not set, you will need to enter password manually when you launch the program)

(~/.pgdl)

# example:
username = "jack"      # should be set if the webpage have basic authentication
password = "mypassw"   # optional
servpath = "example.org/videodir/" # default server location, optional
localdir = "/home/jack/Downloads/" # where to store downloaded files, optional