summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-04 22:41:56 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-04 22:41:56 +0200
commit6735b7b6a86ee824f5e4a2bae357526708d7e06a (patch)
treeacfe2d4e894c761e65faa6467ccd157a51f5fe99 /module
parent[NitroflareCom] Account fixup (diff)
downloadpyload-6735b7b6a86ee824f5e4a2bae357526708d7e06a.tar.xz
[OpenloadIo] fix NAME_PATTERN
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/OpenloadIo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/OpenloadIo.py b/module/plugins/hoster/OpenloadIo.py
index c31b5b997..5a60b6787 100644
--- a/module/plugins/hoster/OpenloadIo.py
+++ b/module/plugins/hoster/OpenloadIo.py
@@ -6,14 +6,14 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class OpenloadIo(SimpleHoster):
__name__ = "OpenloadIo"
__type__ = "hoster"
- __version__ = "0.01"
+ __version__ = "0.02"
__pattern__ = r'https?://(?:www\.)?openload\.io/f/\w{11}'
__description__ = """Openload.io hoster plugin"""
__license__ = "GPLv3"
- NAME_PATTERN = r'<span id="filename">(?P<N>.+)</'
+ NAME_PATTERN = r'<span id="filename">(?P<N>.+?)</'
SIZE_PATTERN = r'<span class="count">(?P<S>[\d.,]+) (?P<U>[\w^_]+)<'
OFFLINE_PATTERN = r">(We can't find the file you are looking for)"