diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:21:37 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-11 12:21:37 +0200 |
commit | 02e1638896c073f5d1c904a3e611d09298df79fa (patch) | |
tree | baef9d74b16b4a3792304b6d89447b1e4a548867 /module/plugins/hoster/DdlstorageCom.py | |
parent | Use re.match for __pattern__ matches instead re.search (diff) | |
download | pyload-02e1638896c073f5d1c904a3e611d09298df79fa.tar.xz |
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
Diffstat (limited to 'module/plugins/hoster/DdlstorageCom.py')
-rw-r--r-- | module/plugins/hoster/DdlstorageCom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/DdlstorageCom.py b/module/plugins/hoster/DdlstorageCom.py index d62b725e7..7fb0168c9 100644 --- a/module/plugins/hoster/DdlstorageCom.py +++ b/module/plugins/hoster/DdlstorageCom.py @@ -44,9 +44,10 @@ class DdlstorageCom(XFileSharingPro): __author_name__ = ("zoidberg", "stickell") __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it") - FILE_INFO_PATTERN = r'<p class="sub_title"[^>]*>(?P<N>.+) \((?P<S>[^)]+)\)</p>' HOSTER_NAME = "ddlstorage.com" + FILE_INFO_PATTERN = r'<p class="sub_title"[^>]*>(?P<N>.+) \((?P<S>[^)]+)\)</p>' + def prepare(self): self.getAPIData() super(DdlstorageCom, self).prepare() |