diff options
-rw-r--r-- | config | 2 | ||||
-rw-r--r-- | module/plugins/RapidshareCom.py | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -22,7 +22,7 @@ use_reconnect = False link_file = links.txt failed_file = failed_links.txt reconnect_method = reconnect_method -debug_mode = True +debug_mode = False max_download_time = 18000 [updates] diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py index 68f2efd8c..275fa761c 100644 --- a/module/plugins/RapidshareCom.py +++ b/module/plugins/RapidshareCom.py @@ -120,16 +120,12 @@ class RapidshareCom(Plugin): url = self.parent.url self.html[0] = self.req.load(url, cookies=True) self.html_old = time() - with open("rs_dump1.html", "w") as f: - f.write(self.html[0]) def download_serverhtml(self): """downloads html with the important informations """ file_server_url = re.search(r"<form action=\"(.*?)\"", self.html[0]).group(1) self.html[1] = self.req.load(file_server_url, cookies=True, post={"dl.start": "Free"}) - with open("rs_dump2.html", "w") as f: - f.write(self.html[1]) self.html_old = time() self.get_wait_time() |