提交 7a856324 作者: 薛凌堃

雅虎财经企业动态

上级 c5576d56
# 雅虎财经企业动态获取
# 雅虎财经企业动态获取
......@@ -85,8 +85,8 @@ def getZx(xydm, url, title, cnx, path):
'deleteFlag': '0',
'id': '',
'keyWords': '',
'lang': 'zh',
'origin': '天眼查',
'lang': 'en',
'origin': '雅虎财经',
'publishDate': pub_time,
'sid': '1684032033495392257',
'sourceAddress': url, # 原文链接
......@@ -257,7 +257,7 @@ if __name__ == "__main__":
state = 0
takeTime = baseCore.getTimeCost(start_time, time.time())
baseCore.recordLog(xydm, taskType, state, takeTime, news_url, exception)
continue
break
title = a_ele.text.lstrip().strip().replace("'", "''")
exception = getZx(xydm, news_url, title, cnx, path)
if exception == '':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论