summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Keep2ShareCc.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 19:31:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 19:31:07 +0200
commitda80c605fd07c2db9a7f0dc6240461ccfa6b0986 (patch)
tree12c58b0d3ad5538994ed5b49543a9a03f7ec61b3 /module/plugins/hoster/Keep2ShareCc.py
parent[UploadedTo] Fixup (diff)
parentUpdate UploadingCom.py (diff)
downloadpyload-da80c605fd07c2db9a7f0dc6240461ccfa6b0986.tar.xz
Merge pull request #1453 from GammaC0de/GammaC0de-NamePattern-Use-lazy-Match
NAME_PATTERN use lazy match
Diffstat (limited to 'module/plugins/hoster/Keep2ShareCc.py')
-rw-r--r--module/plugins/hoster/Keep2ShareCc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Keep2ShareCc.py b/module/plugins/hoster/Keep2ShareCc.py
index fb94d12c4..19a8f2ba6 100644
--- a/module/plugins/hoster/Keep2ShareCc.py
+++ b/module/plugins/hoster/Keep2ShareCc.py
@@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class Keep2ShareCc(SimpleHoster):
__name__ = "Keep2ShareCc"
__type__ = "hoster"
- __version__ = "0.22"
+ __version__ = "0.23"
__pattern__ = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>\w+)'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -23,7 +23,7 @@ class Keep2ShareCc(SimpleHoster):
URL_REPLACEMENTS = [(__pattern__ + ".*", "http://keep2s.cc/file/\g<ID>")]
- NAME_PATTERN = r'File: <span>(?P<N>.+)</span>'
+ NAME_PATTERN = r'File: <span>(?P<N>.+?)</span>'
SIZE_PATTERN = r'Size: (?P<S>[^<]+)</div>'
OFFLINE_PATTERN = r'File not found or deleted|Sorry, this file is blocked or deleted|Error 404'