summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LetitbitNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-20 23:26:51 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-20 23:26:51 +0100
commit69e45f0e3e3636e81efcee3b1be696cd6f2f3814 (patch)
tree31d9756a4332781e13aa5d93f3ee53b46e99240f /module/plugins/hoster/LetitbitNet.py
parent[DevhostStFolder] Fixup (diff)
downloadpyload-69e45f0e3e3636e81efcee3b1be696cd6f2f3814.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/LetitbitNet.py')
-rw-r--r--module/plugins/hoster/LetitbitNet.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/module/plugins/hoster/LetitbitNet.py b/module/plugins/hoster/LetitbitNet.py
index 273cea871..42adaee31 100644
--- a/module/plugins/hoster/LetitbitNet.py
+++ b/module/plugins/hoster/LetitbitNet.py
@@ -56,16 +56,6 @@ class LetitbitNet(SimpleHoster):
self.resumeDownload = True
- def getFileInfo(self):
- api_rep = api_response(self.pyfile.url)
- if api_rep['status'] == 'OK':
- self.api_data = api_rep['data'][0]
- self.pyfile.name = self.api_data['name']
- self.pyfile.size = self.api_data['size']
- else:
- self.offline()
-
-
def handleFree(self, pyfile):
action, inputs = self.parseHtmlForm('id="ifree_form"')
if not action: