Browse Source

增加报错提示

chenzhiyuan 3 years ago
parent
commit
0641a93b1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dy_userinfo_update.py

+ 1 - 1
dy_userinfo_update.py

@@ -45,7 +45,7 @@ def scrape():
45 45
             rds_list.put_user_info(data)
46 46
 
47 47
         except Exception as e:
48
-            print('爬取失败')
48
+            print('爬取失败,'+sec_uid)
49 49
             # rds_list.put_wait_update_user(sec_uid)
50 50
             PrintLog.print(time.strftime("%H:%M:%S", time.localtime()) + ' ' + sec_uid + '数据异常:' + str(e))
51 51
         time.sleep(0.1)