summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileserveCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-12 11:32:50 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-12 11:32:50 +0100
commitd5d580b693af56d286008da47a3e30bdc5f79aed (patch)
tree6b28d05892b0c7ce2efaede84ea69bd3c9725142 /module/plugins/hoster/FileserveCom.py
parentfileserv error message (diff)
downloadpyload-d5d580b693af56d286008da47a3e30bdc5f79aed.tar.xz
closed #246, #247, #248, #249,
Diffstat (limited to 'module/plugins/hoster/FileserveCom.py')
-rw-r--r--module/plugins/hoster/FileserveCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py
index 852dbb5b8..0ab97a4c7 100644
--- a/module/plugins/hoster/FileserveCom.py
+++ b/module/plugins/hoster/FileserveCom.py
@@ -55,6 +55,7 @@ class FileserveCom(Hoster):
self.multiDL = False
self.file_id = re.search(r"fileserve\.com/file/([a-zA-Z0-9]+)(http:.*)?", self.pyfile.url).group(1)
+ self.pyfile.url = "http://www.fileserve.com/file/" + self.file_id
def process(self, pyfile):
self.html = self.load(self.pyfile.url, ref=False, cookies=False if self.account else True, utf8=True)
@@ -81,7 +82,6 @@ class FileserveCom(Hoster):
self.html = self.load(self.pyfile.url)
jsPage = re.search(r"\"(/landing/.*?/download_captcha\.js)\"", self.html)
- self.req.putHeader("X-Requested-With", "XMLHttpRequest")
jsPage = self.load("http://fileserve.com" + jsPage.group(1))
action = self.load(self.pyfile.url, post={"checkDownload" : "check"})