summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2011-06-25 15:40:43 +0200
committerGravatar Jeix <devnull@localhost> 2011-06-25 15:40:43 +0200
commitcd8004ee7cee363ce5a73ee6ffd4ac44bc780d9c (patch)
tree12f461881610fbaf7275ec052347027890e3e484 /module
parentclosed #313 (diff)
downloadpyload-cd8004ee7cee363ce5a73ee6ffd4ac44bc780d9c.tar.xz
DepositFiles lang fix
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/DepositfilesCom.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py
index 24b168f07..4f2cc9fc4 100644
--- a/module/plugins/hoster/DepositfilesCom.py
+++ b/module/plugins/hoster/DepositfilesCom.py
@@ -28,6 +28,11 @@ class DepositfilesCom(Hoster):
if '<span class="html_download_api-not_exists"></span>' in self.html:
self.offline()
+
+
+
+ return_url = self.req.lastEffectiveURL.split("/", 3)[3]
+ self.html = self.load(r'http://depositfiles.com/switch_lang.php?return_url=%s&lang=de' % return_url)
pyfile.name = re.search('(?s)Dateiname: <b title=\"(.*?)\">.*?</b>', self.html).group(1)