diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-12 23:40:26 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-12 23:40:26 +0200 |
commit | 7598810800c20b928265c63b207daa7c7caa04c6 (patch) | |
tree | 1a95a64ab332cb0b14ed53f1c8279f6f891ec412 /module | |
parent | [XFileSharingPro] Code cosmetics (diff) | |
download | pyload-7598810800c20b928265c63b207daa7c7caa04c6.tar.xz |
[XFileSharingPro] Code cosmetics 2
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hooks/XFileSharingPro.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index 13d11155c..1d7864390 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -24,6 +24,16 @@ class XFileSharingPro(Hook): event_list = ["pluginConfigChanged"] + HOSTER_LIST = [#WORKING HOSTERS: + "eyesfile.co", "eyesfile.com", "fileband.com", "filedwon.com", "hostingbulk.com", "linestorage.com", + "ravishare.com", "sharesix.com", "thefile.me", "verzend.be", "xvidstage.com", + #NOT TESTED: + "101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com", "linkzhost.com", "mightyupload.com", + "rockdizfile.com", "sharebeast.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"] + def pluginConfigChanged(self, plugin, name, value): if name != "activated": @@ -49,17 +59,7 @@ class XFileSharingPro(Hook): else: if self.getConfig('load_default'): - hoster_list |= set(( - #WORKING HOSTERS: - "eyesfile.co", "eyesfile.com", "fileband.com", "filedwon.com", "hostingbulk.com", "linestorage.com", - "ravishare.com", "sharesix.com", "thefile.me", "verzend.be", "xvidstage.com", - #NOT TESTED: - "101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com", "linkzhost.com", "mightyupload.com", - "rockdizfile.com", "sharebeast.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" - )) + hoster_list |= set(self.HOSTER_LIST) hoster_list -= (exclude_list) hoster_list -= set(('', u'')) |