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/s/m/SmartWall-HEAD/Spider.py   SmartWall(Download)
            time = re.findall(r'<span class="ct">(.*?)</span>', conversation)[0]
            time = Helper.datetime_formater(time)
            cnt_datetime = Helper.str2date(time)
            if not cnt_datetime>self.last_time:
                status = 1
            time = re.findall(r'<span class="ct">(.*?)</span>', conversation)[0]
            time = Helper.datetime_formater(time)
            cnt_datetime = Helper.str2date(time)
            if not cnt_datetime>self.last_time:
                status = 1
    def get_last_message_time(self):
        return Helper.str2date(Helper.get_app_value('message_time'))
 
    def set_last_message_time(self, timestr):
        Helper.set_app_value('message_time', timestr)

src/s/m/SmartWall-HEAD/Poster.py   SmartWall(Download)
    def get_usercommand(self):
        self.last_at_time = self.get_last_at_time()
        log("LAST_AT_TIME:%s" % self.last_at_time)
        self.last_at_time = Helper.str2date(self.last_at_time)
        try: