adding back the host dir in the path, somehow it was removed
This commit is contained in:
parent
17dee84eb3
commit
f56c2916f7
|
|
@ -435,6 +435,7 @@ if [[ -z $FILE ]]
|
|||
# remove the protocol
|
||||
local noprotocol=${URL#*//}
|
||||
HOST=${noprotocol%%/*}
|
||||
BASE_DIR=$HOST
|
||||
else
|
||||
echo "Will fetch urls from the file $FILE with User-Agent $USER_AGENT and viewport $VIEWPORT using ruleset $RULESET ... this can take a while"
|
||||
BASE_DIR=$(basename "$FILE")
|
||||
|
|
|
|||
Loading…
Reference in New Issue