diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 17:25:53 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 17:25:53 +0200 |
commit | ad17f97c76a9aba7497fde9ad3f09ebc2088a6b9 (patch) | |
tree | e05fa50647d28c0d04bca13b29dada7b38eec4d8 | |
parent | [ExternalScripts] Optimize code (diff) | |
download | pyload-ad17f97c76a9aba7497fde9ad3f09ebc2088a6b9.tar.xz |
Set broken plugins
-rw-r--r-- | module/plugins/crypter/MegaCoNzFolder.py | 9 | ||||
-rw-r--r-- | module/plugins/crypter/TurbobitNetFolder.py | 8 | ||||
-rw-r--r-- | module/plugins/hoster/Keep2ShareCc.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/TurbobitNet.py | 2 |
4 files changed, 12 insertions, 9 deletions
diff --git a/module/plugins/crypter/MegaCoNzFolder.py b/module/plugins/crypter/MegaCoNzFolder.py index abdecff30..7e8058d18 100644 --- a/module/plugins/crypter/MegaCoNzFolder.py +++ b/module/plugins/crypter/MegaCoNzFolder.py @@ -2,17 +2,17 @@ import re -from module.plugins.internal.Crypter import Crypter +from module.plugins.internal.Crypter import Crypter, create_getInfo class MegaCoNzFolder(Crypter): __name__ = "MegaCoNz" __type__ = "crypter" __version__ = "0.06" - __status__ = "testing" + __status__ = "broken" __pattern__ = r'(https?://(?:www\.)?mega(\.co)?\.nz/|mega:|chrome:.+?)#F!(?P<ID>[\w^_]+)!(?P<KEY>[\w,\\-]+)' - __config__ = [("activated", "bool", "Activated", True), + __config__ = [("activated" , "bool", "Activated" , True), ("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] @@ -29,3 +29,6 @@ class MegaCoNzFolder(Crypter): url = "https://mega.co.nz/#F!%s!%s" % re.match(self.__pattern__, pyfile.url).groups() self.html = self.load("http://rapidgen.org/linkfinder", post={'linklisturl': url}) self.urls = re.findall(r'(https://mega(\.co)?\.nz/#N!.+?)<', self.html) + + +getInfo = create_getInfo(MegaCoNzFolder) diff --git a/module/plugins/crypter/TurbobitNetFolder.py b/module/plugins/crypter/TurbobitNetFolder.py index ac18a7399..b90eb5aa3 100644 --- a/module/plugins/crypter/TurbobitNetFolder.py +++ b/module/plugins/crypter/TurbobitNetFolder.py @@ -3,17 +3,17 @@ import re from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json class TurbobitNetFolder(SimpleCrypter): __name__ = "TurbobitNet" __type__ = "crypter" __version__ = "0.06" - __status__ = "testing" + __status__ = "broken" __pattern__ = r'http://(?:www\.)?turbobit\.net/download/folder/(?P<ID>\w+)' - __config__ = [("activated", "bool", "Activated", True), + __config__ = [("activated" , "bool", "Activated" , True), ("use_premium" , "bool", "Use premium account if available" , True), ("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] @@ -30,7 +30,7 @@ class TurbobitNetFolder(SimpleCrypter): def _get_links(self, id, page=1): gridFile = self.load("http://turbobit.net/downloadfolder/gridFile", get={'rootId': id, 'rows': 200, 'page': page}) - grid = json_loads(gridFile) + grid = json.loads(gridFile) if grid['rows']: for i in grid['rows']: diff --git a/module/plugins/hoster/Keep2ShareCc.py b/module/plugins/hoster/Keep2ShareCc.py index f59821feb..e36a7830d 100644 --- a/module/plugins/hoster/Keep2ShareCc.py +++ b/module/plugins/hoster/Keep2ShareCc.py @@ -11,7 +11,7 @@ class Keep2ShareCc(SimpleHoster): __name__ = "Keep2ShareCc" __type__ = "hoster" __version__ = "0.26" - __status__ = "testing" + __status__ = "broken" __pattern__ = r'https?://(?:www\.)?(keep2share|k2s|keep2s)\.cc/file/(?P<ID>\w+)' __config__ = [("activated", "bool", "Activated", True), diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py index d6ec4b643..33f88125b 100644 --- a/module/plugins/hoster/TurbobitNet.py +++ b/module/plugins/hoster/TurbobitNet.py @@ -18,7 +18,7 @@ class TurbobitNet(SimpleHoster): __name__ = "TurbobitNet" __type__ = "hoster" __version__ = "0.23" - __status__ = "testing" + __status__ = "broken" __pattern__ = r'http://(?:www\.)?turbobit\.net/(?:download/free/)?(?P<ID>\w+)' __config__ = [("activated", "bool", "Activated", True), |