Adds a --cookie option. Ref #485

This commit is contained in:
erwanlr
2014-05-22 17:34:09 +02:00
parent e050539747
commit af0319cc66
4 changed files with 17 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ def help
puts ' You do not need to provide the regexp delimiters, but you must write the quotes (simple or double).'
puts '--config-file | -c <config file> Use the specified config file, see the example.conf.json.'
puts '--user-agent | -a <User-Agent> Use the specified User-Agent.'
puts '--cookie <String> String to read cookies from.'
puts '--random-agent | -r Use a random User-Agent.'
puts '--follow-redirection If the target url has a redirection, it will be followed without asking if you wanted to do so or not'
puts '--batch Never ask for user input, use the default behaviour.'