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

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

src/p/y/pyload-HEAD/module/plugins/hoster/XFileSharingPro.py   pyload(Download)
    def handleOverriden(self):
        #only tested with easybytez.com
        self.html = self.load("http://www.%s/" % self.HOSTER_NAME)
        action, inputs = self.parseHtmlForm('')
        upload_id = "%012d" % int(random() * 10 ** 12)
        self.html = self.load(action, post=inputs)
 
        action, inputs = self.parseHtmlForm('F1')
        if not inputs:
            self.parseError('TEXTAREA')
 
            if hasattr(self, "FORM_PATTERN"):
                action, inputs = self.parseHtmlForm(self.FORM_PATTERN)
            else:
                action, inputs = self.parseHtmlForm(input_names={"op": re.compile("^download")})
 
            if not inputs:
                action, inputs = self.parseHtmlForm('F1')

src/p/y/pyload-HEAD/module/plugins/hoster/FilerNet.py   pyload(Download)
        self.html = self.load(self.pyfile.url, decode=True)
 
        inputs = self.parseHtmlForm(input_names='token')[1]
        if 'token' not in inputs:
            self.parseError('Unable to detect token')
        self.html = self.load(self.pyfile.url, post={'token': token}, decode=True)
 
        inputs = self.parseHtmlForm(input_names='hash')[1]
        if 'hash' not in inputs:
            self.parseError('Unable to detect hash')

src/p/y/pyload-HEAD/module/plugins/hoster/UlozTo.py   pyload(Download)
    def handleFree(self):
        action, inputs = self.parseHtmlForm('id="frm-downloadDialog-freeDownloadForm"')
        if not action or not inputs:
            self.parseError("free download form")
 

src/p/y/pyload-HEAD/module/plugins/hoster/IfolderRu.py   pyload(Download)
        for _ in xrange(5):
            self.html = self.load(url, cookies=True)
            action, inputs = self.parseHtmlForm('ID="Form1"')
            inputs['ints_session'] = re.search(self.INTS_SESSION_PATTERN, self.html).group(1)
            inputs[re.search(self.HIDDEN_INPUT_PATTERN, self.html).group(1)] = '1'

src/p/y/pyload-HEAD/module/plugins/hoster/TurbobitNet.py   pyload(Download)
                self.retry()
 
            action, inputs = self.parseHtmlForm("action='#'")
            if not inputs:
                self.parseError("captcha form")

src/p/y/pyload-HEAD/module/plugins/hoster/UnibytesCom.py   pyload(Download)
    def handleFree(self):
        action, post_data = self.parseHtmlForm('id="startForm"')
        self.req.http.c.setopt(FOLLOWLOCATION, 0)
 
        for _ in xrange(8):
 
            last_step = post_data['step']
            action, post_data = self.parseHtmlForm('id="stepForm"')
 
            if last_step == 'timer':

src/p/y/pyload-HEAD/module/plugins/hoster/OneFichierCom.py   pyload(Download)
                self.waitAndRetry(self.RETRY_TIME)
 
        url, inputs = self.parseHtmlForm('action="http://%s' % self.file_info['id'])
        if not url:
            self.parseError("Download link not found")
    def handlePremium(self):
        url, inputs = self.parseHtmlForm('action="http://%s' % self.file_info['id'])
        if not url:
            self.parseError("Download link not found")
 

src/p/y/pyload-HEAD/module/plugins/hoster/FshareVn.py   pyload(Download)
        self.checkErrors()
 
        action, inputs = self.parseHtmlForm('frm_download')
        self.url = self.pyfile.url + action
 

src/p/y/pyload-HEAD/module/plugins/hoster/BezvadataCz.py   pyload(Download)
        self.checkErrors()
        for _ in xrange(5):
            action, inputs = self.parseHtmlForm('frm-stahnoutFreeForm')
            if not inputs:
                self.parseError("FreeForm")

src/p/y/pyload-HEAD/module/plugins/hoster/LetitbitNet.py   pyload(Download)
    def handleFree(self):
        action, inputs = self.parseHtmlForm('id="ifree_form"')
        if not action:
            self.parseError("page 1 / ifree_form")
        self.pyfile.size = float(inputs['sssize'])

  1 | 2  Next