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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/p/y/pyload-HEAD/module/plugins/accounts/CyberlockerCh.py   pyload(Download)
# -*- coding: utf-8 -*-
 
from module.plugins.internal.XFSPAccount import XFSPAccount
from module.plugins.internal.SimpleHoster import parseHtmlForm
 
    def login(self, user, data, req):
        html = req.load(self.MAIN_PAGE + 'login.html', decode=True)
 
        action, inputs = parseHtmlForm('name="FL"', html)
        if not inputs:

src/p/y/pyload-HEAD/module/plugins/internal/XFSPAccount.py   pyload(Download)
from time import mktime, strptime
from module.plugins.Account import Account
from module.plugins.internal.SimpleHoster import parseHtmlForm
from module.utils import parseFileSize
 
    def login(self, user, data, req):
        html = req.load('%slogin.html' % self.MAIN_PAGE, decode=True)
 
        action, inputs = parseHtmlForm('name="FL"', html)
        if not inputs:

src/p/y/pyload-HEAD/module/plugins/accounts/EasybytezCom.py   pyload(Download)
 
from module.plugins.Account import Account
from module.plugins.internal.SimpleHoster import parseHtmlForm
from module.utils import parseFileSize
 
    def login(self, user, data, req):
        html = req.load('http://www.easybytez.com/login.html', decode=True)
        action, inputs = parseHtmlForm('name="FL"', html)
        inputs.update({"login": user,
                       "password": data['password'],