|
|
|
@ -51,6 +51,8 @@ if __name__ == '__main__':
|
|
|
|
|
if current_timestamp > expiry:
|
|
|
|
|
print("Cookie已过期")
|
|
|
|
|
exit()
|
|
|
|
|
# 移除expiry属性
|
|
|
|
|
del cookies["expiry"]
|
|
|
|
|
|
|
|
|
|
options = Options()
|
|
|
|
|
options.add_argument('-headless') # 无头参数,调试时可以注释掉
|
|
|
|
@ -80,7 +82,8 @@ if __name__ == '__main__':
|
|
|
|
|
logging.info("微信token:" + token)
|
|
|
|
|
|
|
|
|
|
article_urls = []
|
|
|
|
|
gzlist = [{"account_name": "长春教育八卦阵", "account_id": "jybg100"}]
|
|
|
|
|
gzlist = [{"account_name": "长春教育八卦阵", "account_id": "jybg100"},
|
|
|
|
|
{"account_name": "致知物理", "account_id": "zhizhiphysics"}]
|
|
|
|
|
for item in gzlist:
|
|
|
|
|
account_name = item["account_name"]
|
|
|
|
|
account_id = item["account_id"]
|
|
|
|
|