diff options
Diffstat (limited to 'module/plugins/hoster/DepositfilesCom.py')
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 5 |
1 files changed, 4 insertions, 1 deletions
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: <b title="(.*)">', self.html).group(1) + try: + pyfile.name = re.search('File name: <b title="(.*)">', self.html).group(1) + except: + pyfile.name = re.search('Dateiname: <b title="(.*)">', self.html).group(1) if self.account: link = urllib.unquote(re.search('<div id="download_url">\s*<a href="(http://.+?\.depositfiles.com/.+?)"', self.html).group(1)) |