summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-15 17:35:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-15 17:35:48 +0200
commita0805f27015748638a5fb05fd55b746852c53362 (patch)
tree1f56b476ae3ce998f62abe1617303319b04f1c3f /module/plugins/hoster/RapidshareCom.py
parenthagg's rapidshare patch (diff)
downloadpyload-a0805f27015748638a5fb05fd55b746852c53362.tar.xz
html_unescape function, little plugin improvements
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index 95f6f91f9..96fa6fd36 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -8,8 +8,6 @@
# * removed some (old?) comment blocks
import re
-from os import stat, remove
-from time import sleep
from module.network.RequestFactory import getURL
from module.plugins.Hoster import Hoster
@@ -99,7 +97,7 @@ class RapidshareCom(Hoster):
self.log.info(_("Rapidshare: Traffic Share (direct download)"))
self.pyfile.name = self.get_file_name()
- self.download(self.pyfile.url, get={"directstart":1}, cookies=True)
+ self.download(self.pyfile.url, get={"directstart":1})
elif self.api_data["status"] in ("0","4","5"):
self.offline()
@@ -133,7 +131,7 @@ class RapidshareCom(Hoster):
info = self.account.getAccountInfo(self.user, True)
self.log.debug("%s: Use Premium Account" % self.__name__)
url = self.api_data["mirror"]
- self.download(url, get={"directstart":1}, cookies=True)
+ self.download(url, get={"directstart":1})
def download_api_data(self, force=False):