summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileSharkPl.py
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-05 17:51:38 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-05 17:51:38 +0200
commitfafeabff0be24254c5ca0e9faedb00eef7c0a42a (patch)
treed47b2ca86b29a1fc50932f28865e142d819ecbdc /module/plugins/hoster/FileSharkPl.py
parentUpdate Keep2ShareCc.py (diff)
downloadpyload-fafeabff0be24254c5ca0e9faedb00eef7c0a42a.tar.xz
Update FileSharkPl.py
Diffstat (limited to 'module/plugins/hoster/FileSharkPl.py')
-rw-r--r--module/plugins/hoster/FileSharkPl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FileSharkPl.py b/module/plugins/hoster/FileSharkPl.py
index de030be9c..5be339896 100644
--- a/module/plugins/hoster/FileSharkPl.py
+++ b/module/plugins/hoster/FileSharkPl.py
@@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class FileSharkPl(SimpleHoster):
__name__ = "FileSharkPl"
__type__ = "hoster"
- __version__ = "0.10"
+ __version__ = "0.11"
__pattern__ = r'http://(?:www\.)?fileshark\.pl/pobierz/\d+/\w+'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -20,7 +20,7 @@ class FileSharkPl(SimpleHoster):
("Walter Purcaro", "vuolter@gmail.com")]
- NAME_PATTERN = r'<h2 class="name-file">(?P<N>.+)</h2>'
+ NAME_PATTERN = r'<h2 class="name-file">(?P<N>.+?)</h2>'
SIZE_PATTERN = r'<p class="size-file">(.*?)<strong>(?P<S>\d+\.?\d*)\s(?P<U>\w+)</strong></p>'
OFFLINE_PATTERN = r'(P|p)lik zosta. (usuni.ty|przeniesiony)'