summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TurbobitNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-03 16:57:55 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-03 16:57:55 +0100
commit03f3b86f500c495932fd118b54569d92f700847c (patch)
treead3632f59e0889c7485f2261113aef3da983b4dc /module/plugins/hoster/TurbobitNet.py
parent[SimpleHoster] Fix file_info stuff (diff)
downloadpyload-03f3b86f500c495932fd118b54569d92f700847c.tar.xz
Code cosmetics about file_info and other stuff
Diffstat (limited to 'module/plugins/hoster/TurbobitNet.py')
-rw-r--r--module/plugins/hoster/TurbobitNet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py
index 93e037664..c9d1ede34 100644
--- a/module/plugins/hoster/TurbobitNet.py
+++ b/module/plugins/hoster/TurbobitNet.py
@@ -17,7 +17,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, t
class TurbobitNet(SimpleHoster):
__name__ = "TurbobitNet"
__type__ = "hoster"
- __version__ = "0.13"
+ __version__ = "0.14"
__pattern__ = r'http://(?:www\.)?turbobit\.net/(?:download/free/)?(?P<ID>\w+)'
@@ -42,7 +42,7 @@ class TurbobitNet(SimpleHoster):
def handleFree(self):
- self.url = "http://turbobit.net/download/free/%s" % self.file_info['ID']
+ self.url = "http://turbobit.net/download/free/%s" % self.info['ID']
self.html = self.load(self.url, ref=True, decode=True)
rtUpdate = self.getRtUpdate()
@@ -130,7 +130,7 @@ class TurbobitNet(SimpleHoster):
for b in [1, 3]:
self.jscode = "var id = \'%s\';var b = %d;var inn = \'%s\';%sout" % (
- self.file_info['ID'], b, quote(fun), rtUpdate)
+ self.info['ID'], b, quote(fun), rtUpdate)
try:
out = self.js.eval(self.jscode)