summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DepositfilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r--module/plugins/hoster/DepositfilesCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py
index 28d0819d7..0d557b8ad 100644
--- a/module/plugins/hoster/DepositfilesCom.py
+++ b/module/plugins/hoster/DepositfilesCom.py
@@ -9,7 +9,7 @@ class DepositfilesCom(Hoster):
__name__ = "DepositfilesCom"
__type__ = "hoster"
__pattern__ = r"http://[\w\.]*?depositfiles\.com(/\w{1,3})?/files/[\w]+"
- __version__ = "0.1"
+ __version__ = "0.2"
__description__ = """Depositfiles.com Download Hoster"""
__author_name__ = ("spoob")
__author_mail__ = ("spoob@pyload.org")
@@ -18,7 +18,7 @@ class DepositfilesCom(Hoster):
self.req.canContinue = self.multiDL = True if self.account else False
def process(self, pyfile):
- self.html = self.load(self.pyfile.url, cookies=False if self.account else False)
+ self.html = self.load(self.pyfile.url, cookies=True if self.account else False)
if re.search(r"Such file does not exist or it has been removed for infringement of copyrights", self.html):
self.offline()
@@ -28,7 +28,7 @@ class DepositfilesCom(Hoster):
pyfile.name = re.search('File name: <b title="(.*)">', self.html).group(1)
- link = urllib.unquote(re.search('<form action="(http://.+?\.depositfiles.com/.+?)" method="get"', self.html).group(1))
+ link = urllib.unquote(re.search('<div id="download_url">\s*<a href="(http://.+?\.depositfiles.com/.+?)"', self.html).group(1))
self.download(link)
def handleFree(self):