diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-01 18:59:55 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-01 18:59:55 +0200 |
commit | 8d85a655d8cc408574f471306613bc05115c8c64 (patch) | |
tree | a468f6fdc525497d94e2bc43e263ac68e676cf4e /module/plugins/hoster/OpenloadIo.py | |
parent | A lot of plugin code cosmetics (2) (diff) | |
download | pyload-8d85a655d8cc408574f471306613bc05115c8c64.tar.xz |
Improve Hoster and Crypter + general fixup
Diffstat (limited to 'module/plugins/hoster/OpenloadIo.py')
-rw-r--r-- | module/plugins/hoster/OpenloadIo.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/OpenloadIo.py b/module/plugins/hoster/OpenloadIo.py index 1ebc12ad0..6213a9c09 100644 --- a/module/plugins/hoster/OpenloadIo.py +++ b/module/plugins/hoster/OpenloadIo.py @@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class OpenloadIo(SimpleHoster): __name__ = "OpenloadIo" __type__ = "hoster" - __version__ = "0.06" + __version__ = "0.07" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?openload\.(?:co|io)/f/([\w-_]+)' @@ -23,11 +23,11 @@ class OpenloadIo(SimpleHoster): # The API reference, that this implementation uses is available at https://openload.co/api API_URL = 'https://api.openload.co/1' - FILE_ID_PATTERN = '/f/([\w-_]+)' + _FILE_ID_PATTERN = '/f/([\w-_]+)' - DOWNLOAD_TICKET_URI_PATTERN = '/file/dlticket?file={0}' - DOWNLOAD_FILE_URI_PATTERN = '/file/dl?file={0}&ticket={1}' - FILE_INFO_URI_PATTERN = '/file/info?file={0}' + _DOWNLOAD_TICKET_URI_PATTERN = '/file/dlticket?file={0}' + _DOWNLOAD_FILE_URI_PATTERN = '/file/dl?file={0}&ticket={1}' + _FILE_INFO_URI_PATTERN = '/file/info?file={0}' @classmethod |