summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-21 16:01:05 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-21 16:01:05 +0200
commitdabee359dd8c3870e0302e99457e6dd1bb93d736 (patch)
tree88c42e163c39fbd349fa33b890f9021231e95671 /module
parent[UpdateManager] MIN_INTERVAL is 6h now (diff)
downloadpyload-dabee359dd8c3870e0302e99457e6dd1bb93d736.tar.xz
Remove needless self.html
Diffstat (limited to 'module')
-rw-r--r--module/plugins/crypter/LinkSaveIn.py1
-rw-r--r--module/plugins/crypter/NCryptIn.py1
-rw-r--r--module/plugins/crypter/OneKhDe.py1
-rw-r--r--module/plugins/crypter/RelinkUs.py1
-rw-r--r--module/plugins/crypter/SexuriaCom.py4
-rw-r--r--module/plugins/crypter/ShareLinksBiz.py1
-rw-r--r--module/plugins/hoster/DlFreeFr.py1
-rw-r--r--module/plugins/hoster/FilerNet.py3
-rw-r--r--module/plugins/hoster/MegasharesCom.py2
9 files changed, 0 insertions, 15 deletions
diff --git a/module/plugins/crypter/LinkSaveIn.py b/module/plugins/crypter/LinkSaveIn.py
index 81768e457..3e37f3610 100644
--- a/module/plugins/crypter/LinkSaveIn.py
+++ b/module/plugins/crypter/LinkSaveIn.py
@@ -33,7 +33,6 @@ class LinkSaveIn(SimpleCrypter):
def setup(self):
- self.html = None
self.fileid = None
self.captcha = False
self.package = None
diff --git a/module/plugins/crypter/NCryptIn.py b/module/plugins/crypter/NCryptIn.py
index 22fd53384..28a0735a5 100644
--- a/module/plugins/crypter/NCryptIn.py
+++ b/module/plugins/crypter/NCryptIn.py
@@ -31,7 +31,6 @@ class NCryptIn(Crypter):
def setup(self):
self.package = None
- self.html = None
self.cleanedHtml = None
self.links_source_order = ["cnl2", "rsdf", "ccf", "dlc", "web"]
self.protection_type = None
diff --git a/module/plugins/crypter/OneKhDe.py b/module/plugins/crypter/OneKhDe.py
index 3b072b3d7..7a2aefe83 100644
--- a/module/plugins/crypter/OneKhDe.py
+++ b/module/plugins/crypter/OneKhDe.py
@@ -21,7 +21,6 @@ class OneKhDe(Crypter):
def __init__(self, parent):
Crypter.__init__(self, parent)
self.parent = parent
- self.html = None
def file_exists(self):
""" returns True or False
diff --git a/module/plugins/crypter/RelinkUs.py b/module/plugins/crypter/RelinkUs.py
index dc97fca74..09b83b82b 100644
--- a/module/plugins/crypter/RelinkUs.py
+++ b/module/plugins/crypter/RelinkUs.py
@@ -55,7 +55,6 @@ class RelinkUs(Crypter):
self.fileid = None
self.package = None
self.password = None
- self.html = None
self.captcha = False
diff --git a/module/plugins/crypter/SexuriaCom.py b/module/plugins/crypter/SexuriaCom.py
index 55b6adef4..68a404f46 100644
--- a/module/plugins/crypter/SexuriaCom.py
+++ b/module/plugins/crypter/SexuriaCom.py
@@ -26,10 +26,6 @@ class SexuriaCom(Crypter):
PATTERN_REDIRECT_LINKS = re.compile(r'value="(http://sexuria\.com/out\.php\?id=\d+\&part=\d+\&link=\d+)" readonly', flags=re.I)
- def setup(self):
- self.html = None
-
-
def decrypt(self, pyfile):
# Init
self.pyfile = pyfile
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py
index 6e187ed6f..126a7e5dc 100644
--- a/module/plugins/crypter/ShareLinksBiz.py
+++ b/module/plugins/crypter/ShareLinksBiz.py
@@ -24,7 +24,6 @@ class ShareLinksBiz(Crypter):
self.baseUrl = None
self.fileId = None
self.package = None
- self.html = None
self.captcha = False
diff --git a/module/plugins/hoster/DlFreeFr.py b/module/plugins/hoster/DlFreeFr.py
index b3ed346fe..b653e2a8f 100644
--- a/module/plugins/hoster/DlFreeFr.py
+++ b/module/plugins/hoster/DlFreeFr.py
@@ -144,7 +144,6 @@ class DlFreeFr(SimpleHoster):
valid_url = pyfile.url
headers = self.load(valid_url, just_header=True)
- self.html = None
if headers.get('code') == 302:
valid_url = headers.get('location')
headers = self.load(valid_url, just_header=True)
diff --git a/module/plugins/hoster/FilerNet.py b/module/plugins/hoster/FilerNet.py
index 46c914e9b..7a850a849 100644
--- a/module/plugins/hoster/FilerNet.py
+++ b/module/plugins/hoster/FilerNet.py
@@ -41,9 +41,6 @@ class FilerNet(SimpleHoster):
def handleFree(self):
- self.req.setOption("timeout", 120)
- self.html = self.load(self.pyfile.url, decode=not self.TEXT_ENCODING, cookies=self.COOKIES)
-
# Wait between downloads
m = re.search(r'musst du <span id="time">(\d+)</span> Sekunden warten', self.html)
if m:
diff --git a/module/plugins/hoster/MegasharesCom.py b/module/plugins/hoster/MegasharesCom.py
index 61a314de4..e674ae7fa 100644
--- a/module/plugins/hoster/MegasharesCom.py
+++ b/module/plugins/hoster/MegasharesCom.py
@@ -47,8 +47,6 @@ class MegasharesCom(SimpleHoster):
if self.NO_SLOTS_PATTERN in self.html:
self.retry(wait_time=5 * 60)
- self.getFileInfo()
-
m = re.search(self.REACTIVATE_PASSPORT_PATTERN, self.html)
if m:
passport_num = m.group(1)