diff options
-rw-r--r-- | module/network/HTTPChunk.py | 3 | ||||
-rw-r--r-- | module/plugins/hoster/FilesonicCom.py | 2 |
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)
|