|
@@ -237,8 +237,8 @@ class ShipinhaoRecommend:
|
|
month_str = f"0{month_str}"
|
|
month_str = f"0{month_str}"
|
|
if int(day_str) < 10:
|
|
if int(day_str) < 10:
|
|
day_str = f"0{day_str}"
|
|
day_str = f"0{day_str}"
|
|
- publish_time_str = f"{year_str}-{month_str}-{day_str} 00:00:00"
|
|
|
|
- publish_time_stamp = int(time.mktime(time.strptime(publish_time_str, "%Y-%m-%d %H:%M:%S")))
|
|
|
|
|
|
+ publish_time_str = f"{year_str}-{month_str}-{day_str}"
|
|
|
|
+ publish_time_stamp = int(time.mktime(time.strptime(publish_time_str, "%Y-%m-%d")))
|
|
|
|
|
|
# 收起评论
|
|
# 收起评论
|
|
driver.find_element(By.ID, "com.tencent.mm:id/be_").click()
|
|
driver.find_element(By.ID, "com.tencent.mm:id/be_").click()
|
|
@@ -254,7 +254,7 @@ class ShipinhaoRecommend:
|
|
"share_cnt": share_cnt,
|
|
"share_cnt": share_cnt,
|
|
"favorite_cnt": favorite_cnt,
|
|
"favorite_cnt": favorite_cnt,
|
|
"comment_cnt": comment_cnt,
|
|
"comment_cnt": comment_cnt,
|
|
- "publish_time_str": publish_time_str,
|
|
|
|
|
|
+ "publish_time_str": publish_time_str+" 00:00:00",
|
|
"publish_time_stamp": publish_time_stamp,
|
|
"publish_time_stamp": publish_time_stamp,
|
|
}
|
|
}
|
|
return video_dict
|
|
return video_dict
|