diff options
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
|