summaryrefslogtreecommitdiffstats
path: root/Plugins/BluehostTo.py
diff options
context:
space:
mode:
authorGravatar cp1 <christopherpool1@googlemail.com> 2009-06-11 16:50:48 +0200
committerGravatar cp1 <christopherpool1@googlemail.com> 2009-06-11 16:50:48 +0200
commitfd6e286ee089cf75276f2581471aba254d69fcb5 (patch)
tree1f91e2063f3182d172d7c7f70c4fdb98b407a60b /Plugins/BluehostTo.py
parentadd wxversion selector to ensure wxWidgets 2.8 is used (diff)
downloadpyload-fd6e286ee089cf75276f2581471aba254d69fcb5.tar.xz
correcting false identation (tabs to spaces)
Diffstat (limited to 'Plugins/BluehostTo.py')
-rw-r--r--Plugins/BluehostTo.py6
1 files changed, 3 insertions, 3 deletions
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