diff options
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/RapidshareCom.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 4701f82ca..292570d6c 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -15,7 +15,7 @@ class BasePlugin(Hoster): def process(self, pyfile): """main function""" - + if pyfile.url.startswith("http"): pyfile.name = re.findall("([^/=]+)", pyfile.url)[-1] diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index f96e5cd85..2e6ada837 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -176,9 +176,9 @@ class RapidshareCom(Hoster): def freeWait(self): """downloads html with the important information """ - self.html = self.load("http://rapidshare.com/files/%s/%s" % (self.id, self.name),ref=False) + #self.html = self.load("http://rapidshare.com/files/%s/%s" % (self.id, self.name),ref=False) - sleep(1) + #sleep(1) self.no_download = True |