From 4344fb664864b157ac397ea210a7b34eaf3b275f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 7 Jul 2011 11:16:06 +0200 Subject: basic event manager --- module/Api.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'module/Api.py') 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": -- cgit v1.2.3