if __name__ == '__main__':
# geturl('若明若暗')
db = pymysql.connect(host='121.199.64.86', port=33306, user='onename', passwd='163.Com.cn',
db='one_name', charset='utf8', cursorclass=pymysql.cursors.DictCursor, )
cursor = db.cursor()
sql = "select name from one_ciyu where isbe=0 limit 24000 "
cursor.execute(sql)
for each in cursor.fetchall():
geturl(each['name'])
time.sleep(2)