summaryrefslogtreecommitdiffstats
path: root/docs/plugins/crypter_plugin.rst
diff options
context:
space:
mode:
authorGravatar X3n0m0rph59 <X3n0m0rph59@googlemail.com> 2012-04-22 16:54:06 +0200
committerGravatar X3n0m0rph59 <X3n0m0rph59@googlemail.com> 2012-04-22 16:54:06 +0200
commit5a7f415a25d8e036a37851fcd5e9be81caae2804 (patch)
treedf0152bd22a770a3c268dc5ad3c264209d092121 /docs/plugins/crypter_plugin.rst
parentcaptcha decrypting for all plugin types, new interaction manager (diff)
downloadpyload-5a7f415a25d8e036a37851fcd5e9be81caae2804.tar.xz
Fixed spelling in the documentation
Diffstat (limited to 'docs/plugins/crypter_plugin.rst')
-rw-r--r--docs/plugins/crypter_plugin.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/plugins/crypter_plugin.rst b/docs/plugins/crypter_plugin.rst
index 4e7803808..8c54dccb1 100644
--- a/docs/plugins/crypter_plugin.rst
+++ b/docs/plugins/crypter_plugin.rst
@@ -4,7 +4,7 @@ Crypter - Extract links from pages
==================================
We are starting with the simplest plugin, the :class:`Crypter <module.plugins.Crypter.Crypter>`.
-It's job is it to take a url as input and generate new package or links, for example by filtering the urls or
+It's job is to take an url as input and generate a new package or links, for example by filtering the urls or
loading a page and extracting links from the html code. You need to define the ``__pattern__`` to match
target urls and subclass from :class:`Crypter <module.plugins.Crypter.Crypter>`. ::
@@ -36,11 +36,11 @@ create new Packages if needed by instantiating a :class:`Package` instance, whic
html = self.load(url)
- # .decrypt_from_content is only a example method here and will return a list of urls
+ # .decrypt_from_content is only an example method here and will return a list of urls
urls = self.decrypt_from_content(html)
return Package("my new package", urls)
-And that's basically all you need to know. Just as little side-note if you want to use decrypter in
+And that's basically all you need to know. Just as a little side-note if you want to use decrypter in
your code you can use::
plugin = self.core.pluginManager.loadClass("crypter", "NameOfThePlugin")
@@ -53,7 +53,7 @@ SimpleCrypter
-------------
For simple crypter services there is the :class:`SimpleCrypter <module.plugins.internal.SimpleCrypter.SimpleCrypter>` class which handles most of the workflow. Only the regexp
-pattern have to be defined.
+pattern has to be defined.
Exmaple::