summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 00:03:52 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 00:03:52 +0200
commit25031f6fb2e04dc14f7f5650824a6b7686546a42 (patch)
tree309391c8e3edfa5728da78f17abab6be4b6610aa /module/plugins/hoster
parentFix https://github.com/pyload/pyload/pull/1552 (thx selaux) (diff)
downloadpyload-25031f6fb2e04dc14f7f5650824a6b7686546a42.tar.xz
Fix https://github.com/pyload/pyload/pull/1558 (thx lpiter)
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/OpenloadIo.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/module/plugins/hoster/OpenloadIo.py b/module/plugins/hoster/OpenloadIo.py
index 21a52eddb..c46462344 100644
--- a/module/plugins/hoster/OpenloadIo.py
+++ b/module/plugins/hoster/OpenloadIo.py
@@ -6,22 +6,26 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class OpenloadIo(SimpleHoster):
__name__ = "OpenloadIo"
__type__ = "hoster"
- __version__ = "0.03"
+ __version__ = "0.04"
__status__ = "testing"
- __pattern__ = r'https?://(?:www\.)?openload\.io/f/\w{11}'
+ __pattern__ = r'https?://(?:www\.)?openload\.io/f/[\w_-]{11}'
__description__ = """Openload.io hoster plugin"""
__license__ = "GPLv3"
+ __authors__ = [(None, None)]
- NAME_PATTERN = r'<span id="filename">(?P<N>.+?)</'
- SIZE_PATTERN = r'<span class="count">(?P<S>[\d.,]+) (?P<U>[\w^_]+)<'
+
+ 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)"
- LINK_FREE_PATTERN = r'id="realdownload"><a href="(https?://[\w\.]+\.openload\.io/dl/.*?)"'
+ LINK_FREE_PATTERN = r'id="real\w*download"><a href="(https?://[\w\.]+\.openload\.io/dl/.*?)"'
+
def setup(self):
self.multiDL = True
self.chunk_limit = 1
+
getInfo = create_getInfo(OpenloadIo)