Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/p/y/pyload-HEAD/module/plugins/hoster/RapidgatorNet.py   pyload(Download)
            msg = json['response_details']
        except BadHeader, e:
            self.logError('API:%s' % cmd, e, "SID: %s" % self.sid)
            status = e.code
            msg = e

src/p/y/pyload-HEAD/module/plugins/hoster/LetitbitNet.py   pyload(Download)
                break
            except Exception, e:
                self.logError(e)
        else:
            self.fail("Download did not finish correctly")

src/p/y/pyload-HEAD/module/plugins/hoster/CzshareCom.py   pyload(Download)
        except Exception, e:
            # let's continue and see what happens...
            self.logError('Parse error (CREDIT): %s' % e)
 
        return True
            inputs = dict(re.findall(self.FORM_INPUT_PATTERN, form))
        except Exception, e:
            self.logError("Parse error (FORM): %s" % e)
            self.resetAccount()
 
            self.pyfile.size = int(inputs['size'])
        except Exception, e:
            self.logError(e)
            raise PluginParseError('Form')
 

src/p/y/pyload-HEAD/module/plugins/hoster/TurbobitNet.py   pyload(Download)
                self.setStorage("version", self.__version__)
            else:
                self.logError("Unable to download, wait for update...")
                self.tempOffline()
 
                    return "http://turbobit.net%s" % out.strip()
            except Exception, e:
                self.logError(e)
        else:
            if self.retries >= 2:

src/p/y/pyload-HEAD/module/plugins/hoster/FshareVn.py   pyload(Download)
            self.retry()
        elif '<ul class="message-error">' in self.html:
            self.logError("Unknown error occured or wait time not parsed")
            self.retry(30, 2 * 60, "Unknown error")
 

src/p/y/pyload-HEAD/module/plugins/hoster/UlozTo.py   pyload(Download)
            self.fail("Wrong password")
        elif check == "server_error":
            self.logError("Server error, try downloading later")
            self.multiDL = False
            self.wait(1 * 60 * 60, True)

src/p/y/pyload-HEAD/module/plugins/hoster/WarserverCz.py   pyload(Download)
    def handleFree(self):
        try:
            self.download("%s/dwn-free.php?fid=%s" % (self.DOMAIN, self.file_info['ID']))
        except BadHeader, e:
            self.logError(e)