-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
Description
Hi,
Would you mind adding some notes on how to troubleshoot the script?
I'm trying to download this list with the following parameters:
export _GROUP="ggplot2"
export _WGET_OPTIONS="--no-check-certificate"The next commands then generate the wget.sh file and try to run it, but the file itself does not seem to run on anything:
./crawler.sh -sh > wget.sh
bash wget.shThanks in advance for any pointers. The wget.sh file I get is copied below.
#!/usr/bin/env bash
export _GROUP="${_GROUP:-ggplot2}"
export _D_OUTPUT="${_D_OUTPUT:-./ggplot2/}"
export _USER_AGENT="${_USER_AGENT:-Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0}"
export _WGET_OPTIONS="${_WGET_OPTIONS:---no-check-certificate}"
__wget_hook ()
{
:
}
__wget__ ()
{
if [[ ! -f "$1" ]]; then
wget --user-agent="$_USER_AGENT" $_WGET_OPTIONS "$2" -O "$1";
__wget_hook "$1" "$2";
fi
}Reactions are currently unavailable