diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-19 00:21:18 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-19 00:21:18 +0200 |
commit | 664524c08bcd62214ae91e20d9624bf8e6827c2c (patch) | |
tree | 03e59c4b0bd03b1740778a283f9928d5d5159fdb /module/plugins/hoster/FileserveCom.py | |
parent | change config path fix (diff) | |
download | pyload-664524c08bcd62214ae91e20d9624bf8e6827c2c.tar.xz |
fileserv, freakshare fix
Diffstat (limited to 'module/plugins/hoster/FileserveCom.py')
-rw-r--r-- | module/plugins/hoster/FileserveCom.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py index 753baa800..161c7bd9d 100644 --- a/module/plugins/hoster/FileserveCom.py +++ b/module/plugins/hoster/FileserveCom.py @@ -1,6 +1,9 @@ # -*- coding: utf-8 -*-
import re
+
+from os.path import join
+
from module.plugins.Hoster import Hoster
from module.plugins.ReCaptcha import ReCaptcha
@@ -88,5 +91,10 @@ class FileserveCom(Hoster): self.wait()
self.load(self.pyfile.url, post={"downloadLink":"show"})
-
+
+ header = self.load(self.pyfile.url, post={"download":"normal"}, just_header=True)
+ print header #TODO remove
self.download(self.pyfile.url, post={"download":"normal"})
+
+
+ #TODO: validate download it could be html file with errors
|