|
@@ -76,8 +76,8 @@ class ArticleSpider(object):
|
|
appMsgId = info.get("AppMsg", {}).get("BaseInfo", {}).get("AppMsgId", None)
|
|
appMsgId = info.get("AppMsg", {}).get("BaseInfo", {}).get("AppMsgId", None)
|
|
createTime = info.get("AppMsg", {}).get("BaseInfo", {}).get("CreateTime", None)
|
|
createTime = info.get("AppMsg", {}).get("BaseInfo", {}).get("CreateTime", None)
|
|
updateTime = info.get("AppMsg", {}).get("BaseInfo", {}).get("UpdateTime", None)
|
|
updateTime = info.get("AppMsg", {}).get("BaseInfo", {}).get("UpdateTime", None)
|
|
- # if int(time.time()) - int(updateTime) <= 20 * 60 * 60:
|
|
|
|
- # continue
|
|
|
|
|
|
+ if int(time.time()) - int(updateTime) <= 20 * 60 * 60:
|
|
|
|
+ continue
|
|
Type = info.get("AppMsg", {}).get("BaseInfo", {}).get("Type", None)
|
|
Type = info.get("AppMsg", {}).get("BaseInfo", {}).get("Type", None)
|
|
detail_article_list = info.get("AppMsg", {}).get("DetailInfo", [])
|
|
detail_article_list = info.get("AppMsg", {}).get("DetailInfo", [])
|
|
if detail_article_list:
|
|
if detail_article_list:
|