summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-07 11:16:06 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-07 11:16:06 +0200
commit4344fb664864b157ac397ea210a7b34eaf3b275f (patch)
treee86a558f7cc6a15273b3aa3a0f5d474968316f28 /module/Api.py
parentadditional log message (diff)
downloadpyload-4344fb664864b157ac397ea210a7b34eaf3b275f.tar.xz
basic event manager
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/module/Api.py b/module/Api.py
index 2f6200950..832122ac5 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -185,8 +185,15 @@ class Api(Iface):
except:
return ['No log available']
- def checkURL(self, urls):
- raise NotImplemented #TODO
+ def parseURLs(self, html):
+ #TODO implement
+ pass
+
+ def checkURLs(self, urls):
+ pass
+
+ def checkOnlineStatus(self, urls):
+ pass
def isTimeDownload(self):
"""Checks if pyload will start new downloads according to time in config .
@@ -655,7 +662,7 @@ class Api(Iface):
:param username:
:param password:
- :param remoteip:
+ :param remoteip: Omit this argument, its only used internal
:return: bool indicating login was successful
"""
if self.core.config["remote"]["nolocalauth"] and remoteip == "127.0.0.1":