diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:21:37 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:20:49 +0200 |
commit | c7b21dbabe0d04668eae1c26db61b5e63d5ae774 (patch) | |
tree | fccdcdd2bb4f687d8888e9da4b9de5f68773bf71 /pyload/plugins/hoster/MegareleaseOrg.py | |
parent | Use re.match for __pattern__ matches instead re.search (diff) | |
download | pyload-c7b21dbabe0d04668eae1c26db61b5e63d5ae774.tar.xz |
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
(cherry picked from commit 02e1638896c073f5d1c904a3e611d09298df79fa)
Diffstat (limited to 'pyload/plugins/hoster/MegareleaseOrg.py')
-rw-r--r-- | pyload/plugins/hoster/MegareleaseOrg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/MegareleaseOrg.py b/pyload/plugins/hoster/MegareleaseOrg.py index 651e3eab7..9a6d95237 100644 --- a/pyload/plugins/hoster/MegareleaseOrg.py +++ b/pyload/plugins/hoster/MegareleaseOrg.py @@ -27,8 +27,8 @@ class MegareleaseOrg(XFileSharingPro): __author_name__ = ("derek3x", "stickell") __author_mail__ = ("derek3x@vmail.me", "l.stickell@yahoo.it") - FILE_INFO_PATTERN = r'<font color="red">%s/(?P<N>.+)</font> \((?P<S>[^)]+)\)</font>' % __pattern__ - HOSTER_NAME = "megarelease.org" + FILE_INFO_PATTERN = r'<font color="red">%s/(?P<N>.+)</font> \((?P<S>[^)]+)\)</font>' % __pattern__ + getInfo = create_getInfo(MegareleaseOrg) |