|
@@ -264,9 +264,9 @@ class XiguaRecommend:
|
|
Common.logger(log_type, crawler).info("登录失效")
|
|
Common.logger(log_type, crawler).info("登录失效")
|
|
Common.logging(log_type, crawler, env, "登录失效")
|
|
Common.logging(log_type, crawler, env, "登录失效")
|
|
driver.get_screenshot_as_file(f"./{crawler}/photos/logon_err.png")
|
|
driver.get_screenshot_as_file(f"./{crawler}/photos/logon_err.png")
|
|
- # 登录失效,报警
|
|
|
|
- if 20 >= datetime.datetime.now().hour >= 10:
|
|
|
|
- Feishu.bot(log_type, crawler, "西瓜推荐,登录失效")
|
|
|
|
|
|
+ # # 登录失效,报警
|
|
|
|
+ # if 20 >= datetime.datetime.now().hour >= 10:
|
|
|
|
+ # Feishu.bot(log_type, crawler, "西瓜推荐,登录失效")
|
|
return
|
|
return
|
|
|
|
|
|
videoList_elements = driver.find_elements(By.XPATH, '//*[@class="HorizontalFeedCard HorizontalChannelBlockList__item"]')
|
|
videoList_elements = driver.find_elements(By.XPATH, '//*[@class="HorizontalFeedCard HorizontalChannelBlockList__item"]')
|