diff options
| author | 2010-04-13 18:54:55 +0200 | |
|---|---|---|
| committer | 2010-04-13 18:54:55 +0200 | |
| commit | 835e3a576051d9efb558bfcb7964947ab289c255 (patch) | |
| tree | ff776f8b1f225829e897ab301eeb744afa42a742 /module/plugins/hoster/GigasizeCom.py | |
| parent | filefactory fix (diff) | |
| download | pyload-835e3a576051d9efb558bfcb7964947ab289c255.tar.xz | |
Pack Fixes
Diffstat (limited to 'module/plugins/hoster/GigasizeCom.py')
| -rw-r--r-- | module/plugins/hoster/GigasizeCom.py | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/module/plugins/hoster/GigasizeCom.py b/module/plugins/hoster/GigasizeCom.py index e22fe8593..a14e17bf8 100644 --- a/module/plugins/hoster/GigasizeCom.py +++ b/module/plugins/hoster/GigasizeCom.py @@ -29,14 +29,14 @@ class GigasizeCom(Plugin):      def download_html(self):          url = self.parent.url -        self.html[0] = self.req.load(url, cookies=True) +        self.html[0] = self.load(url, cookies=True)          captcha_image = tempfile.NamedTemporaryFile(suffix=".jpg").name          for i in range(5): -            self.req.download("http://www.gigasize.com/randomImage.php", captcha_image, cookies=True) +            self.download("http://www.gigasize.com/randomImage.php", captcha_image, cookies=True)              captcha = self.ocr.get_captcha(captcha_image) -            self.html[1] = self.req.load("http://www.gigasize.com/formdownload.php", None, {"txtNumber": captcha}, cookies=True) +            self.html[1] = self.load("http://www.gigasize.com/formdownload.php", None, {"txtNumber": captcha}, cookies=True)              if re.search(r"Package features", self.html[1]) != None:                  if re.search(r"YOU HAVE REACHED YOUR HOURLY LIMIT", self.html[1]) != None: @@ -78,7 +78,3 @@ class GigasizeCom(Plugin):              return False          else:              return True - -    def proceed(self, url, location): -        print url -        print self.req.load(url, cookies=True) | 
