,company,area,phonenum,uploadTime,datetime.datetime.now()) |
rs = dbmysql.execute(sql2) |
if rs = = False : |
print ( "上上兼职网第{}页第{}条insert失败" . format (page,i)) |
print ( "正在insert上上兼职网第{}页第{}条{}" . format (page,i,num)) |
time.sleep( 2 ) |
except Exception as e: |
print (num) |
print (e) |
continue |
else : |
print ( "上上兼职网第{}页第{}条已存在" . format (page,i)) |
time.sleep( 2 ) |
continue |
except Exception as e: |
print (e) |
continue |
ssjzw() |
中级程序员
by: 大盗 发表于:2022-04-05 10:54:45 顶(0) | 踩(0) 回复
好像和这个差不多,更全面的不是发布了一个吗?
回复评论