summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XFileSharingPro.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 21:57:38 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 21:57:38 +0200
commit0af040e72ad8345ce4ecc6952dcf4fe4dc28f4ff (patch)
tree3f4f9e27717792ac1a0cf9730c113662ea106e24 /module/plugins/hooks/XFileSharingPro.py
parentUpdate crypter plugins (diff)
downloadpyload-0af040e72ad8345ce4ecc6952dcf4fe4dc28f4ff.tar.xz
Update addon plugins
Diffstat (limited to 'module/plugins/hooks/XFileSharingPro.py')
-rw-r--r--module/plugins/hooks/XFileSharingPro.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py
index 9b9c7f0ad..70bafba67 100644
--- a/module/plugins/hooks/XFileSharingPro.py
+++ b/module/plugins/hooks/XFileSharingPro.py
@@ -8,7 +8,7 @@ from module.plugins.internal.Hook import Hook
class XFileSharingPro(Hook):
__name__ = "XFileSharingPro"
__type__ = "hook"
- __version__ = "0.42"
+ __version__ = "0.43"
__status__ = "testing"
__config__ = [("activated" , "bool", "Activated" , True ),
@@ -28,22 +28,22 @@ class XFileSharingPro(Hook):
'crypter': (r'https?://(?:www\.)?(?:\w+\.)*?(?P<DOMAIN>(?:[\d.]+|[\w\-^_]{3,}(?:\.[a-zA-Z]{2,}){1,2})(?:\:\d+)?)/(?:user|folder)s?/\w+',
r'https?://(?:[^/]+\.)?(?P<DOMAIN>%s)/(?:user|folder)s?/\w+')}
- HOSTER_BUILTIN = [#WORKING HOSTERS:
- "ani-stream.com", "backin.net", "cloudsix.me", "eyesfile.ca",
- "file4safe.com", "fileband.com", "filedwon.com", "fileparadox.in",
- "filevice.com", "hostingbulk.com", "junkyvideo.com", "ravishare.com",
- "ryushare.com", "salefiles.com", "sendmyway.com", "sharebeast.com",
- "sharesix.com", "thefile.me", "verzend.be", "worldbytez.com",
- "xvidstage.com",
- #: NOT TESTED:
- "101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com",
- "linkzhost.com", "mightyupload.com", "rockdizfile.com", "sharerepo.com",
- "shareswift.com", "uploadbaz.com", "uploadc.com", "vidbull.com",
- "zalaa.com", "zomgupload.com",
- #: NOT WORKING:
- "amonshare.com", "banicrazy.info", "boosterking.com", "host4desi.com",
- "laoupload.com", "rd-fs.com"]
- CRYPTER_BUILTIN = ["junocloud.me", "rapidfileshare.net"]
+ BUILTIN_HOSTERS = [#WORKING HOSTERS:
+ "ani-stream.com", "backin.net", "cloudsix.me", "eyesfile.ca",
+ "file4safe.com", "fileband.com", "filedwon.com", "fileparadox.in",
+ "filevice.com", "hostingbulk.com", "junkyvideo.com", "ravishare.com",
+ "ryushare.com", "salefiles.com", "sendmyway.com", "sharebeast.com",
+ "sharesix.com", "thefile.me", "verzend.be", "worldbytez.com",
+ "xvidstage.com",
+ #: NOT TESTED:
+ "101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com",
+ "linkzhost.com", "mightyupload.com", "rockdizfile.com", "sharerepo.com",
+ "shareswift.com", "uploadbaz.com", "uploadc.com", "vidbull.com",
+ "zalaa.com", "zomgupload.com",
+ #: NOT WORKING:
+ "amonshare.com", "banicrazy.info", "boosterking.com", "host4desi.com",
+ "laoupload.com", "rd-fs.com"]
+ BUILTIN_CRYPTERS = ["junocloud.me", "rapidfileshare.net"]
# def plugin_config_changed(self, plugin, name, value):
@@ -73,7 +73,7 @@ class XFileSharingPro(Hook):
plugin_set = set(plugins.replace(' ', '').replace('\\', '').replace('|', ',').replace(';', ',').lower().split(','))
if use_builtin_list:
- plugin_set |= set(x.lower() for x in getattr(self, "%s_BUILTIN" % type.upper()))
+ plugin_set |= set(x.lower() for x in getattr(self, "BUILTIN_%sS" % type.upper()))
plugin_set -= set(('', u''))