summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-16 15:38:31 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-16 15:38:31 +0100
commit9107885456c67f46eba52f6bc155c16e3f9b7612 (patch)
treef01dbc4b1ebacfe6056271d4b6002a1d4f67d7be
parentindentation fix (diff)
downloadpyload-9107885456c67f46eba52f6bc155c16e3f9b7612.tar.xz
removed debug stuff
-rw-r--r--config2
-rw-r--r--module/plugins/RapidshareCom.py4
2 files changed, 1 insertions, 5 deletions
diff --git a/config b/config
index 16a78b2ca..58df443a2 100644
--- a/config
+++ b/config
@@ -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()