From be09f0959e8d635c5ca665cd4d815ee1ac54e91e Mon Sep 17 00:00:00 2001 From: Jeix Date: Fri, 19 Nov 2010 19:52:41 +0100 Subject: depositfiles workaround --- module/plugins/hoster/DepositfilesCom.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/DepositfilesCom.py') diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py index dca541da7..d3d31a9b8 100644 --- a/module/plugins/hoster/DepositfilesCom.py +++ b/module/plugins/hoster/DepositfilesCom.py @@ -26,7 +26,10 @@ class DepositfilesCom(Hoster): if not self.account: self.handleFree() - pyfile.name = re.search('File name: ', self.html).group(1) + try: + pyfile.name = re.search('File name: ', self.html).group(1) + except: + pyfile.name = re.search('Dateiname: ', self.html).group(1) if self.account: link = urllib.unquote(re.search('
\s*