diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-15 00:04:38 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-15 00:04:38 +0200 |
commit | 39f075bbba88d0777c8b7dcdb785dad202838c95 (patch) | |
tree | 9fd4293f6530afd4b716f82387d33e717cfb9fd3 /module | |
parent | Update main Captcha plugin (diff) | |
download | pyload-39f075bbba88d0777c8b7dcdb785dad202838c95.tar.xz |
[OpenloadIo] Update __pattern__
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/OpenloadIo.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/OpenloadIo.py b/module/plugins/hoster/OpenloadIo.py index c46462344..372ce28f9 100644 --- a/module/plugins/hoster/OpenloadIo.py +++ b/module/plugins/hoster/OpenloadIo.py @@ -6,25 +6,25 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class OpenloadIo(SimpleHoster): __name__ = "OpenloadIo" __type__ = "hoster" - __version__ = "0.04" + __version__ = "0.05" __status__ = "testing" - __pattern__ = r'https?://(?:www\.)?openload\.io/f/[\w_-]{11}' + __pattern__ = r'https?://(?:www\.)?openload\.(co|io)/f/[\w-]+' - __description__ = """Openload.io hoster plugin""" + __description__ = """Openload.co 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^_]+)<' + 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="real\w*download"><a href="(https?://[\w\.]+\.openload\.io/dl/.*?)"' + LINK_FREE_PATTERN = r'id="real\w*download"><a href="(https?://[\w\.]+\.openload\.co/dl/.*?)"' def setup(self): - self.multiDL = True + self.multiDL = True self.chunk_limit = 1 |