import redis

r = redis.Redis(host='58.221.49.23',password='123456',port=6379)

for i in r.lrange('yhd:info_urls',0,745):
    r.lpush('yhd:info_urls_back',i)