-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.gmi
executable file
·34 lines (25 loc) · 1.37 KB
/
help.gmi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
```
┏┓ • •┳┓┓
┃┓┏┓┏┳┓┓┏┓┓┃┃┃
┗┛┗ ┛┗┗┗┛┗┗┻┛┗┛ v 0.1
```
=> https://github.com/YGGverse/gemini-dl
# Usage
gemini-dl.php --source gemini://.. --target /path/to/download
## Required
-s, --source - string, gemini protocol address
-t, --target - string, absolute path to destination folder
## Optional
-a, --absolute - no value, links to absolute filepath (ignored on --keep), disabled by default
-c, --crawl - no value, crawl document links (entire capsule download), disabled by default
-d, --delay - integer, pause between requests to prevent abuse (seconds), 1 by default
-i, --index - string, index filename of directory listing, index.gmi by default
-h, --help - no value, show available commands
-k, --keep - no value, keep original links (--crawl mode only), disabled by default
-m, --match - string, collect links match regex rule, /.*/ by default
-r, --raw - no value, include meta headers (--keep option ignored), disabled by default
-u, --unique - no value, append snap version as folder timestamp, disabled by default
## Experimental (in development)
-e, --external - no value, follow external hosts, disabled by default
-f, --follow - integer, follow redirects on --crawl, 0 by default
-l, --level - integer, depth to --crawl, 0 by default