summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hoster.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-15 23:18:21 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-15 23:18:21 +0100
commit5499be89203a18ca61a21cfc7266cf0f4ebe6547 (patch)
tree55f3d207573920be3a6970dbc099d058f417c05f /module/plugins/Hoster.py
parentAdded tag v0.4.9 for changeset 1babca12c25f (diff)
downloadpyload-5499be89203a18ca61a21cfc7266cf0f4ebe6547.tar.xz
refractoring
Diffstat (limited to 'module/plugins/Hoster.py')
-rw-r--r--module/plugins/Hoster.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/module/plugins/Hoster.py b/module/plugins/Hoster.py
index 814a70949..aa50099fb 100644
--- a/module/plugins/Hoster.py
+++ b/module/plugins/Hoster.py
@@ -19,15 +19,15 @@
from module.plugins.Plugin import Plugin
-def getInfo(self):
- #result = [ .. (name, size, status, url) .. ]
- return
-
class Hoster(Plugin):
- __name__ = "Hoster"
- __version__ = "0.1"
- __pattern__ = None
- __type__ = "hoster"
- __description__ = """Base hoster plugin"""
- __author_name__ = ("mkaay")
- __author_mail__ = ("mkaay@mkaay.de")
+
+ @staticmethod
+ def getInfo(urls):
+ """This method is used to retrieve the online status of files for hoster plugins.
+ It has to *yield* list of tuples with the result in this format (name, size, status, url),
+ where status is one of API pyfile statusses.
+
+ :param urls: List of urls
+ :return:
+ """
+ pass \ No newline at end of file