summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 01:23:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-05 01:23:29 +0200
commitaa714a6a3aaf9cb189543585689cbe67dc466196 (patch)
treeacfe2d4e894c761e65faa6467ccd157a51f5fe99 /module/plugins/hoster
parent[NitroflareCom] Account fixup (diff)
parent[OpenloadIo] fix NAME_PATTERN (diff)
downloadpyload-aa714a6a3aaf9cb189543585689cbe67dc466196.tar.xz
Merge pull request #1451 from GammaC0de/patch-2
[OpenloadIo] fix NAME_PATTERN
Diffstat (limited to 'module/plugins/hoster')
-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)"