summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TurbobitNetFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 17:25:53 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 17:25:53 +0200
commitad17f97c76a9aba7497fde9ad3f09ebc2088a6b9 (patch)
treee05fa50647d28c0d04bca13b29dada7b38eec4d8 /module/plugins/crypter/TurbobitNetFolder.py
parent[ExternalScripts] Optimize code (diff)
downloadpyload-ad17f97c76a9aba7497fde9ad3f09ebc2088a6b9.tar.xz
Set broken plugins
Diffstat (limited to 'module/plugins/crypter/TurbobitNetFolder.py')
-rw-r--r--module/plugins/crypter/TurbobitNetFolder.py8
1 files changed, 4 insertions, 4 deletions
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']: