summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-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)