logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mech-dump - Dumps information about a web page

Author

       Andy Lester <andy at petdance.com>

Name

       mech-dump - Dumps information about a web page

See Also

       WWW::Mechanize

Synopsis

       mech-dump [options] [file|url]

       Options:

           --headers              Dump HTTP response headers
           --forms                Dump table of forms (default action)
           --links                Dump table of links
           --images               Dump table of images
           --all                  Dump all four of the above, in that order

           --text                 Dumps the textual part of the web page

           --user=user            Set the username
           --password=pass        Set the password
           --cookie-file=filename Set the filename to use for persistent cookies

           --agent=agent          Specify the UserAgent to pass
           --agent-alias=alias
                                  Specify the alias for the UserAgent to pass.
                                  Pick one of:
                                      * Windows IE 6
                                      * Windows Mozilla
                                      * Mac Safari
                                      * Mac Mozilla
                                      * Linux Mozilla
                                      * Linux Konqueror

           --absolute             Show URLs as absolute, even if relative in the page
           --help                 Show this message

       The order of the options specified is relevant.  Repeated options get repeated dumps.

       "mech-dump" will only work on HTML documents when used on remote URLs, but will assume any local file you
       pass it is HTML. If it is not, there won't be any usable results.

       Proxy settings are specified through the environment (e.g. "http_proxy=http://proxy.my.place/").  See
       LWP::UserAgent for details.

Version

       version 2.19

See Also