From fd6e286ee089cf75276f2581471aba254d69fcb5 Mon Sep 17 00:00:00 2001 From: cp1 Date: Thu, 11 Jun 2009 16:50:48 +0200 Subject: correcting false identation (tabs to spaces) --- Plugins/BluehostTo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Plugins/BluehostTo.py') diff --git a/Plugins/BluehostTo.py b/Plugins/BluehostTo.py index d7f9f1e81..c099d792f 100644 --- a/Plugins/BluehostTo.py +++ b/Plugins/BluehostTo.py @@ -20,7 +20,7 @@ class BluehostTo(Plugin): self.parent = parent self.html = None self.multi_dl = False - + def download_html(self): url = self.parent.url self.html = self.req.load(url) @@ -33,7 +33,7 @@ class BluehostTo(Plugin): """ if self.html == None: self.download_html() - + inputs = re.findall(r"(<(input|form)[^>]+)", self.html) for i in inputs: if re.search(r"name=\"BluehostVers2dl\"",i[0]): @@ -67,4 +67,4 @@ class BluehostTo(Plugin): return True def proceed(self, url, location): - self.req.download(url, location, {'BluehostVers2dl': self.BluehostVers2dl, 'DownloadV2Hash': self.DownloadV2Hash, 'PHPSESSID': self.PHPSESSID, 'access': self.access}) + self.req.download(url, location, {'BluehostVers2dl': self.BluehostVers2dl, 'DownloadV2Hash': self.DownloadV2Hash, 'PHPSESSID': self.PHPSESSID, 'access': self.access}) \ No newline at end of file -- cgit v1.2.3