diff options
author | Jeix <devnull@localhost> | 2011-06-25 15:40:43 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2011-06-25 15:40:43 +0200 |
commit | cd8004ee7cee363ce5a73ee6ffd4ac44bc780d9c (patch) | |
tree | 12f461881610fbaf7275ec052347027890e3e484 /module/plugins | |
parent | closed #313 (diff) | |
download | pyload-cd8004ee7cee363ce5a73ee6ffd4ac44bc780d9c.tar.xz |
DepositFiles lang fix
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 5 |
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) |