|
@@ -88,6 +88,7 @@ class PiaoQuanVlog(object):
|
|
|
:return: None
|
|
|
"""
|
|
|
for video_obj in video_list:
|
|
|
+ print(json.dumps(video_obj, ensure_ascii=False, indent=4))
|
|
|
video_item = {
|
|
|
"id": video_obj['id'],
|
|
|
"status": video_obj['status'],
|
|
@@ -96,10 +97,11 @@ class PiaoQuanVlog(object):
|
|
|
"title": video_obj['title'],
|
|
|
"titleId": video_obj['titleId'],
|
|
|
"shareCount": video_obj['shareCountFriend'],
|
|
|
- "favorCount": video_obj['favoriteds']
|
|
|
+ "favorCount": video_obj['favoriteds'],
|
|
|
+ "publish_date": video_obj['gmtCreateDescr']
|
|
|
}
|
|
|
time.sleep(12)
|
|
|
- # print(json.dumps(video_item, ensure_ascii=False, indent=4))
|
|
|
+ print(json.dumps(video_item, ensure_ascii=False, indent=4))
|
|
|
self.aliyun_log.logging(
|
|
|
code="7001",
|
|
|
message="监控到一条视频",
|