diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-07-09 11:55:23 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-07-09 11:55:23 +0200 |
commit | 2ed13d51ab8cd28f2f3db4caabde9b6d2e2cec25 (patch) | |
tree | 59ccb0eae7d6fe860ffdc4bd26b5e504b68927d0 /module/plugins/hoster/RapideoPl.py | |
parent | remove redundant author information (diff) | |
download | pyload-2ed13d51ab8cd28f2f3db4caabde9b6d2e2cec25.tar.xz |
remove enviroment line
Diffstat (limited to 'module/plugins/hoster/RapideoPl.py')
-rw-r--r-- | module/plugins/hoster/RapideoPl.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/module/plugins/hoster/RapideoPl.py b/module/plugins/hoster/RapideoPl.py index 4f23bc4a9..b7deaa8ed 100644 --- a/module/plugins/hoster/RapideoPl.py +++ b/module/plugins/hoster/RapideoPl.py @@ -1,4 +1,3 @@ -# !/usr/bin/env python # -*- coding: utf-8 -*- try: @@ -10,11 +9,9 @@ from module.plugins.internal.SimpleHoster import SimpleHoster class RapideoPl(SimpleHoster): - __name__ = "RapideoPl" __version__ = "0.01" __type__ = "hoster" - __description__ = "Rapideo.pl hoster plugin" __author_name__ = ("goddie") __author_mail__ = ("dev@rapideo.pl") @@ -31,28 +28,20 @@ class RapideoPl(SimpleHoster): _pwd = False def setup(self): - self.resumeDownload = True self.multiDL = True def get_username_password(self): - if not self.account: - self.fail("[Rapideo.pl] Login to Rapideo.pl plugin or turn plugin off") - else: - self._usr = self.account.getAccountData(self.user).get('usr') self._pwd = self.account.getAccountData(self.user).get('pwd') def runFileQuery(self, url, mode=None): - query = self._api_query.copy() - query["username"] = self._usr query["password"] = self._pwd - query["url"] = url if mode == "fileinfo": @@ -60,7 +49,6 @@ class RapideoPl(SimpleHoster): query['loc'] = 1 self.logDebug(query) - return self.load(self._api_url, post=query) def process(self, pyfile): |