summaryrefslogtreecommitdiffstats
path: root/docs/write_plugins.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/write_plugins.rst')
-rw-r--r--docs/write_plugins.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/write_plugins.rst b/docs/write_plugins.rst
index 64868d638..af35a8d55 100644
--- a/docs/write_plugins.rst
+++ b/docs/write_plugins.rst
@@ -21,6 +21,7 @@ How basic hoster plugin header could look like: ::
from pyload.plugin.Hoster import Hoster
+
class MyFileHoster(Hoster):
__name = "MyFileHoster"
__version = "0.1"
@@ -43,6 +44,7 @@ An example ``process`` function could look like this ::
from pyload.plugin.Hoster import Hoster
+
class MyFileHoster(Hoster):
"""
plugin code
@@ -83,6 +85,7 @@ Example: ::
from pyload.plugin.Crypter import Crypter
+
class MyFileCrypter(Crypter):
"""
plugin code