diff options
author | Jeix <devnull@localhost> | 2010-11-19 19:52:41 +0100 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-11-19 19:52:41 +0100 |
commit | be09f0959e8d635c5ca665cd4d815ee1ac54e91e (patch) | |
tree | dce526c6a6b8333a36edf6c801f31868e5f5f256 /module/plugins | |
parent | gui: add links to existing packages (diff) | |
download | pyload-be09f0959e8d635c5ca665cd4d815ee1ac54e91e.tar.xz |
depositfiles workaround
Diffstat (limited to 'module/plugins')
-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)) |