2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
.. _plugin-web:
|
|
|
|
|
|
|
|
The Web plugin
|
|
|
|
==============
|
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
HTTP
|
|
|
|
----
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-urlunquote:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web urlunquote <text>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
Returns the text un-URL quoted.
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-urlquote:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web urlquote <text>
|
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
Returns the URL quoted form of the text.
|
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-size:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web size <url>
|
|
|
|
^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
Returns the Content-Length header of *<url>*. Only HTTP urls are valid,
|
|
|
|
of course.
|
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
HTML
|
|
|
|
----
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-title:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web title <url>
|
|
|
|
^^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
Returns the HTML *<title>*...*</title>* of a URL.
|
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-doctype:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web doctype <url>
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
Returns the DOCTYPE string of *<url>*. Only HTTP urls are valid, of
|
|
|
|
course.
|
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-headers:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web headers <url>
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
Returns the HTTP headers of *<url>*. Only HTTP urls are valid, of
|
|
|
|
course.
|
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
Others
|
|
|
|
------
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
.. _command-web-netcraft:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
2011-06-28 17:29:38 +02:00
|
|
|
web netcraft <hostname|ip>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Returns Netcraft.com's determination of what operating system and
|
|
|
|
webserver is running on the host given.
|
|
|
|
|
|
|
|
.. _command-web-fetch:
|
|
|
|
|
|
|
|
web fetch <url>
|
|
|
|
^^^^^^^^^^^^^^^
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
Returns the contents of *<url>*, or as much as is configured in
|
2011-06-28 17:29:38 +02:00
|
|
|
:ref:`supybot.plugins.Web.fetch.maximum.` If that configuration variable is
|
2011-06-28 08:11:32 +02:00
|
|
|
set to 0, this command will be effectively disabled.
|
|
|
|
|