diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-20 01:49:11 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-20 01:49:11 +0200 |
commit | 1002852eb08996a30f33d456f04836720091a838 (patch) | |
tree | 75e2f50b18e79991584e77ae7e04c1084bff8b56 /module/plugins | |
parent | Spare fixes (2) (diff) | |
download | pyload-1002852eb08996a30f33d456f04836720091a838.tar.xz |
Fix https://github.com/pyload/pyload/issues/2073
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/crypter/XFileSharingFolder.py | 5 | ||||
-rw-r--r-- | module/plugins/hoster/XFileSharing.py | 5 | ||||
-rw-r--r-- | module/plugins/internal/Plugin.py | 1 |
3 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/crypter/XFileSharingFolder.py b/module/plugins/crypter/XFileSharingFolder.py index 8f51c00be..6341e9895 100644 --- a/module/plugins/crypter/XFileSharingFolder.py +++ b/module/plugins/crypter/XFileSharingFolder.py @@ -8,10 +8,11 @@ from module.plugins.internal.XFSCrypter import XFSCrypter, create_getInfo class XFileSharingFolder(XFSCrypter): __name__ = "XFileSharingFolder" __type__ = "crypter" - __version__ = "0.18" + __version__ = "0.19" __status__ = "testing" - __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:user|folder)s?/\w+' + # __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:user|folder)s?/\w+' + __pattern__ = r'^unmatchable$' __config__ = [("activated" , "bool", "Activated" , True), ("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] diff --git a/module/plugins/hoster/XFileSharing.py b/module/plugins/hoster/XFileSharing.py index 01b2b0d6c..111460cb7 100644 --- a/module/plugins/hoster/XFileSharing.py +++ b/module/plugins/hoster/XFileSharing.py @@ -8,10 +8,11 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class XFileSharing(XFSHoster): __name__ = "XFileSharing" __type__ = "hoster" - __version__ = "0.58" + __version__ = "0.59" __status__ = "testing" - __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:embed-)?\w{12}(?:\W|$)' + # __pattern__ = r'https?://(?:www\.)?(?:\w+\.)*(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,63}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:embed-)?\w{12}(?:\W|$)' + __pattern__ = r'^unmatchable$' __config__ = [("activated", "bool", "Activated", True)] __description__ = """XFileSharing dummy hoster plugin for hook""" diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py index ccecb8c47..a190c0cb0 100644 --- a/module/plugins/internal/Plugin.py +++ b/module/plugins/internal/Plugin.py @@ -23,7 +23,6 @@ class Plugin(object): __version__ = "0.59" __status__ = "testing" - __pattern__ = r'^unmatchable$' __config__ = [] #: [("name", "type", "desc", "default")] __description__ = """Base plugin""" |