diff options
author | spoob <spoob@gmx.de> | 2009-12-19 20:50:26 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-12-19 20:50:26 +0100 |
commit | ed14601a9a83439ce096441ad7ca7a8c4d9b13f8 (patch) | |
tree | 64090e0abe9f736900d9ea33e1df48398a0d3cf7 /module/plugins | |
parent | webinterface - activ Downloads List - Code completed (diff) | |
download | pyload-ed14601a9a83439ce096441ad7ca7a8c4d9b13f8.tar.xz |
Fixed file_exists function for local files
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/CCF.py | 5 | ||||
-rw-r--r-- | module/plugins/LinkList.py | 5 | ||||
-rw-r--r-- | module/plugins/RSDF.py | 5 | ||||
-rw-r--r-- | module/plugins/RapidshareCom.py | 4 |
4 files changed, 2 insertions, 17 deletions
diff --git a/module/plugins/CCF.py b/module/plugins/CCF.py index 7b6e3397f..88b567904 100644 --- a/module/plugins/CCF.py +++ b/module/plugins/CCF.py @@ -27,11 +27,6 @@ class CCF(Plugin): self.multi_dl = True self.links = [] - def file_exists(self): - """ returns True or False - """ - return True - def proceed(self, url, location): infile = url.replace("\n", "") diff --git a/module/plugins/LinkList.py b/module/plugins/LinkList.py index ff99b0968..92508ce29 100644 --- a/module/plugins/LinkList.py +++ b/module/plugins/LinkList.py @@ -21,11 +21,6 @@ class LinkList(Plugin): self.html = None self.read_config() - def file_exists(self): - """ returns True or False - """ - return True - def proceed(self, linkList, location): tmpLinks = [] txt = open(linkList, 'r') diff --git a/module/plugins/RSDF.py b/module/plugins/RSDF.py index 5ce8fd716..0b6a63722 100644 --- a/module/plugins/RSDF.py +++ b/module/plugins/RSDF.py @@ -23,11 +23,6 @@ class RSDF(Plugin): self.multi_dl = True self.links = [] - def file_exists(self): - """ returns True or False - """ - return True - def proceed(self, url, location): from Crypto.Cipher import AES diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py index 96d526d73..2ce9a2f6f 100644 --- a/module/plugins/RapidshareCom.py +++ b/module/plugins/RapidshareCom.py @@ -15,7 +15,7 @@ class RapidshareCom(Plugin): props['name'] = "RapidshareCom" props['type'] = "hoster" props['pattern'] = r"http://[\w\.]*?rapidshare.com/files/(\d*?)/(.*)" - props['version'] = "0.9.9" + props['version'] = "1.0" props['description'] = """Rapidshare.com Download Plugin""" props['author_name'] = ("spoob", "RaNaN", "mkaay") props['author_mail'] = ("spoob@pyload.org", "ranan@pyload.org", "mkaay@mkaay.de") @@ -42,7 +42,7 @@ class RapidshareCom(Plugin): self.download_api_data() if self.api_data["status"] == "1": - pyfile.status.filename = self.get_file_name() + pyfile.status.filename = self.api_data["filename"] if self.config["premium"]: self.logger.info("Rapidshare: Use Premium Account (%sGB left)" % (self.props["premkbleft"]/1000000)) |