예제 #1
0
def main():

    pages, perpages = 0, 0
    Judge(connect, cursor, gs_basic_id, url, pages,
          perpages).update_branch(Punish, "punish")
    cursor.close()
    connect.close()
예제 #2
0
def main():
    Log().found_log(gs_py_id,gs_basic_id)
    HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    pages, perpages = 0, 0
    Judge(gs_py_id,connect,cursor,gs_basic_id,url,pages,perpages).update_branch(update_punish_py,Punish,"punish")
    cursor.close()
    connect.close()
예제 #3
0
def main():
    
    pages, perpages = 0, 0
    HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    Judge(gs_py_id,connect,cursor,gs_basic_id,url,pages,perpages).update_branch(update_mort_py,Mort,"mort")
    cursor.close()
    connect.close()
예제 #4
0
def main():

    # HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    # connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    connect, cursor = None, None
    pages, perpages = 0, 0
    Judge(gs_py_id, connect, cursor, gs_basic_id, url, pages,
          perpages).update_branch(update_person_py, Person, "person")
예제 #5
0
def main():
    Log().found_log(gs_py_id, gs_basic_id)
    HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    Judge(gs_py_id, connect, cursor, gs_basic_id, url, pagenumber,
          perpage).update_branch(update_brand_py, Brand, "brand")
    cursor.close()
    connect.close()
예제 #6
0
def  main():
    Log().found_log(gs_py_id,gs_basic_id)
    HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    pages, perpages = 0,0
    urllist = url.split('qisuso')
    Judge(gs_py_id, connect, cursor, gs_basic_id, urllist,pages,perpages).update_branch(update_change_py, Change, "change")
    cursor.close()
    connect.close()
예제 #7
0
def main():

    pages, perpages = 0, 0
    HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    # urllist = url.split('qisuso')
    Judge(gs_py_id, connect, cursor, gs_basic_id, url, pages,
          perpages).update_branch(update_permit_py, Permit, "permit")
    cursor.close()
    connect.close()
예제 #8
0
def main(gs_basic_id, url):

    Judge(gs_basic_id, url).update_branch(Brand, "brand")
예제 #9
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Punish, "punish2")
예제 #10
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Freeze, "freeze")
예제 #11
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Except, "except")
예제 #12
0
def main():
    Log().found_log(gs_py_id, gs_basic_id)
    HOST, USER, PASSWD, DB, PORT = config.HOST, config.USER, config.PASSWD, config.DB, config.PORT
    connect, cursor = Connect_to_DB().ConnectDB(HOST, USER, PASSWD, DB, PORT)
    Judge(gs_py_id, connect, cursor, gs_basic_id, url, pagenumber,
          perpage).update_branch(update_share_py, Shareholder, "share")
예제 #13
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Check, "check")
예제 #14
0
def main(gs_basic_id,url):
    Judge(gs_basic_id,url).update_branch(Mort,"mort")
예제 #15
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Permit, "permit")
예제 #16
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Black, "black")
예제 #17
0
def main(gs_basic_id,url):
    Judge(gs_basic_id,url).update_branch(Person,"person")
예제 #18
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Change, "change")
예제 #19
0
def main(gs_basic_id, url):
    Judge(gs_basic_id, url).update_branch(Clear, "clear")
예제 #20
0
def main(gs_basic_id,url):
    Judge(gs_basic_id, url).update_branch(update_share_py,Shareholder, "share")
예제 #21
0
def main(gs_basic_id,url):
    Judge(gs_basic_id,url).update_branch(Stock,"stock")