summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-01 10:26:50 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-01 10:26:50 +0200
commit5f826f14d0ec8c90359dbe668041c6e0c571aa3f (patch)
tree18b5c74e8826a437209b3f8b71c37906f678c1f9 /module
parentno autodecode , it may break some plugins (diff)
downloadpyload-5f826f14d0ec8c90359dbe668041c6e0c571aa3f.tar.xz
fixed last commit
Diffstat (limited to 'module')
-rw-r--r--module/network/HTTPChunk.py3
-rw-r--r--module/plugins/hoster/FilesonicCom.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py
index d1d56c02b..cf77ccae6 100644
--- a/module/network/HTTPChunk.py
+++ b/module/network/HTTPChunk.py
@@ -20,6 +20,7 @@ from os import remove
from os.path import exists
from time import sleep
from re import search
+from logging import getLogger
import pycurl
@@ -138,6 +139,8 @@ class HTTPChunk(HTTPRequest):
self.BOMChecked = False
# check and remove byte order mark
+ self.log = getLogger("log")
+
@property
def cj(self):
return self.p.cj
diff --git a/module/plugins/hoster/FilesonicCom.py b/module/plugins/hoster/FilesonicCom.py
index 6aabcc277..9fb41dee9 100644
--- a/module/plugins/hoster/FilesonicCom.py
+++ b/module/plugins/hoster/FilesonicCom.py
@@ -133,7 +133,7 @@ class FilesonicCom(Hoster):
if not finalUrl:
self.doWait(url)
- self.doWait(url)
+ self.doWait(url) #TODO: why 2 wait? please investigate/fix
chall = re.search(self.CAPTCHA_TYPE1_PATTERN, self.html)
chall2 = re.search(self.CAPTCHA_TYPE2_PATTERN, self.html)