diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-10 17:49:14 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-10 17:49:14 +0200 |
commit | 8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch) | |
tree | bd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/hoster/Keep2ShareCc.py | |
parent | Merge branch 'pr/n1997_GammaC0de' into stable (diff) | |
download | pyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz |
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/Keep2ShareCc.py')
-rw-r--r-- | module/plugins/hoster/Keep2ShareCc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Keep2ShareCc.py b/module/plugins/hoster/Keep2ShareCc.py index d4a17610d..2e3959c63 100644 --- a/module/plugins/hoster/Keep2ShareCc.py +++ b/module/plugins/hoster/Keep2ShareCc.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class Keep2ShareCc(SimpleHoster): - __name__ = "Keep2ShareCc" + __name = "Keep2ShareCc" __type__ = "hoster" __version__ = "0.26" __status__ = "testing" @@ -22,7 +22,7 @@ class Keep2ShareCc(SimpleHoster): ("Walter Purcaro", "vuolter@gmail.com")] - URL_REPLACEMENTS = [(__pattern__ + ".*", "http://keep2s.cc/file/\g<ID>")] + URL_REPLACEMENTS = [(__pattern + ".*", "http://keep2s.cc/file/\g<ID>")] NAME_PATTERN = r'File: <span>(?P<N>.+?)</span>' SIZE_PATTERN = r'Size: (?P<S>[^<]+)</div>' |