-
Notifications
You must be signed in to change notification settings - Fork 1
/
rwget
executable file
·27 lines (26 loc) · 962 Bytes
/
rwget
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
#!/bin/sh
#
# NAME
#
# rwget - recursive wget(1)
#
# SYNOPSIS
#
# rwget <url>...
#
# DEPENDENCIES
#
# wget(1)
#
exec wget --adjust-extension \
--continue \
--convert-links \
--execute robots=off \
--mirror \
--no-host-directories \
--page-requisites \
--prefer-family=IPv4 \
--random-wait \
--restrict-file-names=windows,lowercase,ascii,nocontrol \
--user-agent='Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36' \
--wait 0.5 "$@"