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

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

src/p/y/pyload-HEAD/module/plugins/hoster/UlozTo.py   pyload(Download)
        self.file_info = self.getFileInfo()
 
        if self.premium and self.checkTrafficLeft():
            self.handlePremium()
        else:

src/p/y/pyload-HEAD/module/plugins/hoster/FilerNet.py   pyload(Download)
    def process(self, pyfile):
        if self.premium and (not self.SH_CHECK_TRAFFIC or self.checkTrafficLeft()):
            self.handlePremium()
        else:
            self.handleFree()

src/p/y/pyload-HEAD/module/plugins/hoster/HellshareCz.py   pyload(Download)
        self.html = self.load(pyfile.url, decode=True)
        self.getFileInfo()
        if not self.checkTrafficLeft():
            self.fail("Not enough traffic left for user %s." % self.user)
 

src/p/y/pyload-HEAD/module/plugins/hoster/EgoFilesCom.py   pyload(Download)
    def process(self, pyfile):
        if self.premium and (not self.SH_CHECK_TRAFFIC or self.checkTrafficLeft()):
            self.handlePremium()
        else:
            self.handleFree()