diff options
-rw-r--r-- | Plugins/RapidshareCom.py | 2 | ||||
-rw-r--r-- | module/download_thread.py | 5 | ||||
-rw-r--r-- | pyLoadCore.py | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py index 894deb4f7..aa6a55f03 100644 --- a/Plugins/RapidshareCom.py +++ b/Plugins/RapidshareCom.py @@ -61,8 +61,6 @@ class RapidshareCom(Plugin): return False file_server_url = re.search(r"<form action=\"(.*?)\"", self.html[0]).group(1) - #free user - #free_user_encode = urllib.urlencode({"dl.start" : "Free"}) self.html[1] = self.req.load(file_server_url, None, {"dl.start": "Free"}) self.html_old = time() self.get_wait_time() diff --git a/module/download_thread.py b/module/download_thread.py index f7aa2ecb1..378ae8f79 100644 --- a/module/download_thread.py +++ b/module/download_thread.py @@ -90,8 +90,9 @@ class Download_Thread(threading.Thread): status.want_reconnect = False return False sleep(1) - if status.filename == "": - status.filename = pyfile.get_filename() + + if status.url == "": + status.url = pyfile.plugin.get_file_url() status.want_reconnect = False diff --git a/pyLoadCore.py b/pyLoadCore.py index 25c9ae191..3a46aea21 100644 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -96,7 +96,6 @@ class Core(object): self.logger.debug(plugin_file + _(" added")) self.logger.info(_("created index of plugins")) - def read_links(self): """read links from txt""" txt = open(self.config['link_file'], 'r') |