This commit is contained in:
MasonLiu 2025-01-16 10:40:06 +08:00
parent ba00741c11
commit 71cc3b4d22
8 changed files with 55 additions and 507 deletions

View File

@ -231,7 +231,6 @@ def main_loop(time_choice):
time.sleep(60) # 每分钟检查一次是否有任务需要执行 time.sleep(60) # 每分钟检查一次是否有任务需要执行
def send_first_message(): def send_first_message():
rss_info = test_rss_source()
start_info = "" start_info = ""
start_info += "程序已启动,当前时间为:" + datetime.now().strftime("%Y-%m-%d %H:%M:%S") + "\n" start_info += "程序已启动,当前时间为:" + datetime.now().strftime("%Y-%m-%d %H:%M:%S") + "\n"
start_info += "程序作者MasonLiu \t 开源地址:[GM-gitea](https://git.masonliu.com/MasonLiu/PyBot)" + "\n" start_info += "程序作者MasonLiu \t 开源地址:[GM-gitea](https://git.masonliu.com/MasonLiu/PyBot)" + "\n"
@ -262,6 +261,7 @@ def send_first_message():
logger.info(send_result) logger.info(send_result)
if 0 in choice: if 0 in choice:
rss_info = test_rss_source()
if fs_activate == "True": if fs_activate == "True":
result = SendToFeishu(rss_info, "RSS源状态", webhook_url_once, timestamp_once, sign_once) result = SendToFeishu(rss_info, "RSS源状态", webhook_url_once, timestamp_once, sign_once)
# logger.info(rss_info) # logger.info(rss_info)

View File

@ -1,135 +0,0 @@
# # -*- coding: utf-8 -*-
# """
# @Author: MasonLiu
# @Description: 测试用脚本,无需关注。
# """
# import schedule
# import os
# import signal
# import sys
# import time
# import yaml
# import requests
# from datetime import datetime, timedelta
# from SendCore.FeishuSendBot import SendToFeishu, gen_sign
# from SendCore.QiweiSendBot import SendToWX
# from spider.common import run, seebug_main, M_4hou_main, anquanke_main, sec_wiki_main, huawei_main, doonsec_main, qianxin_main
# from spider.freebuf import freebuf_main
# from spider.xianzhi import xianzhi_main
# from spider.sougou_wx import sougou_wx_main
# from spider.github import github_main, load_github_config
# from GotoSend.M_4hou import Src_4hou
# from GotoSend.anquanke import Src_anquanke
# from GotoSend.doonsec import Src_doonsec
# from GotoSend.xianzhi import Src_xianzhi
# from GotoSend.freebuf import Src_freebuf
# from GotoSend.qianxin import Src_qianxin
# from GotoSend.seebug import Src_seebug
# from GotoSend.sougou_wx import Src_sougou_wx
# from GotoSend.github import Src_github
# from config.check_config import get_core_config, get_debug_config, get_kewords_config
# from loguru import logger
# from baiduspider import BaiduSpider
# from pprint import pprint
# # 全局变量
# webhook_url_once, timestamp_once, sign_once = gen_sign()
# e_hour, time_choice, choice, fs_activate, wx_activate, ding_activate, lx_activate, url_web = get_core_config()
# Sogou_WX, Doonsec_switch, Doonsec = get_kewords_config()
# # print(f"当前配置信息Doonsec_switch{Doonsec_switch}")
# # if __name__ == "__main__":
# # result_doonsec_long = Src_doonsec(False, Doonsec_switch, Doonsec)
# # print(result_doonsec_long)
# # while True:
# # Sogou_WX, Doonsec_switch, Doonsec = get_kewords_config()
# # print(f"当前配置信息Doonsec_switch{Doonsec_switch}")
# # print(f"当前配置信息Sogou_WX{Sogou_WX}")
# # print(f"当前配置信息Doonsec{Doonsec}")
# # print("\n")
# # time.sleep(10)
# # pprint(BaiduSpider().search_web(input(), exclude=['all']))
# import requests
# def fetch_url(url, headers):
# try:
# response = requests.get(url, headers=headers)
# response.raise_for_status() # 如果响应状态码不是200会抛出异常
# return response.text
# except requests.RequestException as e:
# print(f"请求失败: {e}")
# return None
# # 示例使用
# if __name__ == "__main__":
# url = "https://www.baidu.com/s?tn=baidurt&cl=3&rn=20&ie=utf-8&rsv_bp=1&wd=齐鲁银行" # 替换为你要爬取的URL
# headers = {
# "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3",
# "Accept-Language": "en-US,en;q=0.9",
# # 可以在这里添加其他需要的头信息
# }
# content = fetch_url(url, headers)
# if content:
# print(content)
'''
<table cellpadding="0" cellspacing="0" class="result" id="8">
<tr>
<td class=f>
<h3 class="t">
<a
onmousedown="return ns_c({
'fm':'baidurt',
'F':'778317EA',
'F1':'9D73F1C4',
'F2':'4CA6DE6A',
'F3':'54E5243F',
'T':'1736494872',
'title':this.innerHTML,
'url':'https%3A%2F%2Fwww.aiqicha.com%2Fcompany_detail_82845142671484',
'p1':8,
'y':'CBDFF3F7'})"
href="https://www.aiqicha.com/company_detail_82845142671484"
target="_blank"
>
山东省<em>城市商业银行</em>合作<em>联盟</em>有限公司 - 爱企查
</a>
</h3>
<font size=-1>
<div class="realtime">
2024-11-29
</div>
目前,<em>联盟</em>共有15家<em>城商行</em>股东,注册资本10.45亿元,线上运营银行资产突破3万亿元公司自成立以来,以提升成员行信息科技支撑水平和风险治理水平为重点,为67家成员行提供了持续稳定强大的信息系统支撑,引领成员行通过科技创新推动业务发展和转型升级公司接受监管部门严格的信息科技风险评估和监管,被原中国银监会列入首...
<br>
<font color="#008000">
<!--{cmt 有些url是dx生成的, 需要对二级目录进行飘粗, dx保证长度, 这里不需要截断}-->
www.aiqicha.com/company_detail_82845...
&nbsp;</font>
-&nbsp;<a data-nolog href="http://cache.baiducontent.com/c?m=3acHSY3QSgkEw1sXW0UKzpyLjYru1huJJy0xUzV0yis6Cm9IHy_sypubAlV_Y-HWxpoUNk7WMqL-9pivNrI_Ok6p3R4wgYIQ3k0K1CMVMm5tRNn2c10xpHN5pXMeJY12&amp;p=93759a44d7d51de51cb5c7710f5f&amp;newp=89759a44d79217dd0be2963e615c92695d0fc20e3cd6d601298ffe0cc4241a1a1a3aecb833647d45848773305df9180a98&amp;s=1543843a4723ed2a&user=baidu&fm=sc&query=%25B3%25C7%25C9%25CC%25D0%25D0%25C1%25AA%25C3%25CB&qid=ced952bc00004e47&p1=8"
target="_blank"
class="m">
百度快照
</a> <br>
</font>
</td>
</tr>
</table><br>
'''

View File

@ -349,7 +349,7 @@ def get_filtered_articles(entries, Is_short, choice):
record += f"#### 关键词【{entry[7]}】发现新项目:[{entry[1]}]({entry[2]})\n" record += f"#### 关键词【{entry[7]}】发现新项目:[{entry[1]}]({entry[2]})\n"
record += f"**项目描述**{entry[3]}\n" record += f"**项目描述**{entry[3]}\n"
record += f"**上传时间**{entry[4]}\n" record += f"**上传时间**{entry[4]}\n"
record += f"**开发语言**{entry[6]}\t\t**作者**{entry[5]}\n" record += f"**开发语言**{entry[6]}\n**作者**{entry[5]}\n"
record += "\n" + "-" * 10 + "\n" # 添加分隔线以便区分不同文章 record += "\n" + "-" * 10 + "\n" # 添加分隔线以便区分不同文章
elif choice == 2: elif choice == 2:
record += f"#### 项目:[{entry[1]}]({entry[2]})存在更新!!!\n" record += f"#### 项目:[{entry[1]}]({entry[2]})存在更新!!!\n"

View File

@ -1,31 +0,0 @@
#### 大佬 su18 上传了一个新工具:[POC](https://github.com/su18/POC)
**项目描述**收集整理漏洞EXP/POC,大部分漏洞来源网络目前收集整理了1400多个poc/exp长期更新。
**上传时间**2025-01-08 09:56:47
----------
#### 大佬 su18 上传了一个新工具:[woodpecker-plugin-template](https://github.com/su18/woodpecker-plugin-template)
**项目描述**woodpecker-plugin-template
**上传时间**2024-12-13 16:47:27
----------
#### 大佬 su18 上传了一个新工具:[closure-compiler](https://github.com/su18/closure-compiler)
**项目描述**A JavaScript checker and optimizer.
**上传时间**2024-12-08 13:13:17
----------
#### 大佬 projectdiscovery 上传了一个新工具:[nuclei-templates-ai](https://github.com/projectdiscovery/nuclei-templates-ai)
**项目描述**Repository of AI-generated Nuclei templates for public CVEs not yet covered by existing templates, enhancing detection speed and coverage 👾
**上传时间**2024-12-04 09:46:51
----------
#### 大佬 projectdiscovery 上传了一个新工具:[nuclei-templates-test](https://github.com/projectdiscovery/nuclei-templates-test)
**项目描述**Nuclei Templates test
**上传时间**2024-11-18 18:30:37
----------
#### 关键词【Python】发现新项目[wxapkg_infosearch](https://github.com/GrassWorkshop/wxapkg_infosearch)
**项目描述**:一款微信小程序源码包信息收集工具,根据已有项目改编
**上传时间**2025-01-15 09:05:22
**开发语言**:信息收集 **作者**GrassWorkshop
----------

View File

@ -1,14 +0,0 @@
#### 文章:[抖音APP逆向:附带抓包与6神算法探索](https://weixin.sogou.com/link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgS3CA22jpRmQYLS5roOHYMHOM-st-w9ouw1qXa8Fplpd9c854Ys4If4OUfsVWxv1m1FOevAHzMpEp-bBVxcGEP4FWu2rRIo5DOiy12-5BsMFNV6Sya2FLqQaBunkDL_vkPmE8h17sIoR-Kc-ztQ_S2-Opa6TnS6aJq1cbrSNYZ9hWDGDWmKJUbXRNcYkVEoeQymnhCGtBRX7pgaIn3-AeUN_zAjcIGepUqA..&type=2&query=APP%E9%80%86%E5%90%91&token=8EC424C2884729B9CACFE27CAB1B4EFACA92882F67871C72)
描述走进抖音APP逆向的世界,结合抓包技术和传说中的“6神算法”,一起揭开其神秘面纱.环境准备:基础工具搭建重点内容:安装必...
**上传时间**2025-01-03 13:10:22
**作者**彪哥in讲py
**关键词**APP逆向
----------------------------------------
#### 文章:[APP逆向sign签名算法:Python实战指南](https://weixin.sogou.com/link?url=dn9a_-gY295K0Rci_xozVXfdMkSQTLW6cwJThYulHEtVjXrGTiVgS3CA22jpRmQYLS5roOHYMHOM-st-w9ouw1qXa8Fplpd9BFWAUHaIeovflPuJQwjMACirLwaa4ZDc_PA19BDpqx6zWZ2Zqm0u_hD-JaXB6KjOmTKDetHcQqRP5vqUhoVoODGop2kQDwoXCEjwq68bCoNh6DOZnTVbsguXGEFA2NShd4-zsHRToI51fFnTDh0nMaNKfL2_aAVocmGauHRr2wY6Ebq8fk9diw..&type=2&query=APP%E9%80%86%E5%90%91&token=8EC424C2884729B9CACFE27CAB1B4EFACA92882F67871C72)
描述在APP逆向分析领域,sign签名算法无疑是一个核心且复杂的话题.今天,咱们就来聊聊这个话题,话不多说,直接进入正题.环境准...
**上传时间**2025-01-03 09:40:29
**作者**雷雷讲py
**关键词**APP逆向
----------------------------------------

View File

@ -1,316 +0,0 @@
2025-01-15 10:19:21,951 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
2025-01-15 10:19:21,951 - INFO - Press CTRL+C to quit
2025-01-15 10:19:21,951 - INFO - * Restarting with stat
2025-01-15 10:19:22,119 - WARNING - * Debugger is active!
2025-01-15 10:19:22,119 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:19:30,188 - INFO - 访问主页
2025-01-15 10:19:30,196 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:30] "GET / HTTP/1.1" 200 -
2025-01-15 10:19:31,328 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:31,329 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:31] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:31,798 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:31] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:19:35,469 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:35,469 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:35] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:38,041 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:38,041 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:38] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:38,569 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:38,569 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:38] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:38,977 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:38,977 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:38] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:39,305 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:39,305 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:39] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:39,585 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:39,585 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:39] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:39,816 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:39,816 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:39] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:40,024 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:40,024 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:40] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:40,217 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:40,217 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:40] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:40,385 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:40,385 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:40] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:40,577 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:40,577 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:40] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:40,768 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:40,768 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:40] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:40,977 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:19:40,977 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:40] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:19:41,185 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:19:41,185 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:41] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:19:46,954 - INFO - 尝试打开核心日志文件: e:\Self-Tool-Code\PyBot\resources\log\core.log
2025-01-15 10:19:46,956 - INFO - 127.0.0.1 - - [15/Jan/2025 10:19:46] "GET /log HTTP/1.1" 200 -
2025-01-15 10:31:52,205 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
2025-01-15 10:31:52,205 - INFO - Press CTRL+C to quit
2025-01-15 10:31:52,205 - INFO - * Restarting with stat
2025-01-15 10:31:52,380 - WARNING - * Debugger is active!
2025-01-15 10:31:52,384 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:31:55,998 - INFO - 尝试打开核心日志文件: e:\Self-Tool-Code\PyBot\resources\log\core.log
2025-01-15 10:31:56,004 - INFO - 127.0.0.1 - - [15/Jan/2025 10:31:56] "GET /log HTTP/1.1" 200 -
2025-01-15 10:32:28,110 - INFO - 尝试打开Web应用日志文件: e:\Self-Tool-Code\PyBot\resources\log\app.log
2025-01-15 10:32:28,116 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:28] "GET /weblog HTTP/1.1" 500 -
2025-01-15 10:32:28,395 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:28] "GET /weblog?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:32:28,395 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:28] "GET /weblog?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
2025-01-15 10:32:28,416 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:28] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
2025-01-15 10:32:28,472 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:28] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:32:28,480 - INFO - 访问主页
2025-01-15 10:32:28,482 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:28] "GET /?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:32:50,531 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:32:50,550 - INFO - * Restarting with stat
2025-01-15 10:32:50,739 - WARNING - * Debugger is active!
2025-01-15 10:32:50,743 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:32:52,742 - INFO - 尝试打开Web应用日志文件: e:\Self-Tool-Code\PyBot\resources\log\app.log
2025-01-15 10:32:52,758 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:52] "GET /weblog HTTP/1.1" 500 -
2025-01-15 10:32:52,997 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:52] "GET /weblog?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
2025-01-15 10:32:52,997 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:52] "GET /weblog?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
2025-01-15 10:32:53,018 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:53] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:32:53,071 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:53] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:32:53,077 - INFO - 访问主页
2025-01-15 10:32:53,079 - INFO - 127.0.0.1 - - [15/Jan/2025 10:32:53] "GET /?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:32:59,768 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:32:59,783 - INFO - * Restarting with stat
2025-01-15 10:32:59,941 - WARNING - * Debugger is active!
2025-01-15 10:32:59,957 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:33:08,982 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:33:09,004 - INFO - * Restarting with stat
2025-01-15 10:33:09,146 - WARNING - * Debugger is active!
2025-01-15 10:33:09,146 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:33:13,652 - INFO - 尝试打开Web应用日志文件: e:\Self-Tool-Code\PyBot\resources\log\app.log
2025-01-15 10:33:13,652 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:13] "GET /weblog HTTP/1.1" 200 -
2025-01-15 10:33:31,896 - INFO - 尝试打开核心日志文件: e:\Self-Tool-Code\PyBot\resources\log\core.log
2025-01-15 10:33:31,900 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:31] "GET /log HTTP/1.1" 500 -
2025-01-15 10:33:32,138 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:32] "GET /log?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:33:32,139 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:32] "GET /log?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
2025-01-15 10:33:32,146 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:32] "GET /log?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
2025-01-15 10:33:32,199 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:32] "GET /log?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:33:32,204 - INFO - 访问主页
2025-01-15 10:33:32,206 - INFO - 127.0.0.1 - - [15/Jan/2025 10:33:32] "GET /?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:34:03,315 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:34:03,341 - INFO - * Restarting with stat
2025-01-15 10:34:03,506 - WARNING - * Debugger is active!
2025-01-15 10:34:03,510 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:34:28,064 - INFO - 尝试打开核心日志文件: e:\Self-Tool-Code\PyBot\resources\log\core.log
2025-01-15 10:34:28,074 - INFO - 127.0.0.1 - - [15/Jan/2025 10:34:28] "GET /log HTTP/1.1" 500 -
2025-01-15 10:34:28,363 - INFO - 127.0.0.1 - - [15/Jan/2025 10:34:28] "GET /log?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
2025-01-15 10:34:28,363 - INFO - 127.0.0.1 - - [15/Jan/2025 10:34:28] "GET /log?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
2025-01-15 10:34:28,375 - INFO - 127.0.0.1 - - [15/Jan/2025 10:34:28] "GET /log?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:34:28,439 - INFO - 127.0.0.1 - - [15/Jan/2025 10:34:28] "GET /log?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:34:28,600 - INFO - 访问主页
2025-01-15 10:34:28,603 - INFO - 127.0.0.1 - - [15/Jan/2025 10:34:28] "GET /?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:34:53,674 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:34:53,681 - INFO - * Restarting with stat
2025-01-15 10:34:53,851 - WARNING - * Debugger is active!
2025-01-15 10:34:53,851 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:35:52,060 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:35:52,077 - INFO - * Restarting with stat
2025-01-15 10:35:52,243 - WARNING - * Debugger is active!
2025-01-15 10:35:52,243 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:35:54,471 - INFO - 尝试打开核心日志文件: e:\Self-Tool-Code\PyBot\resources\log\core.log
2025-01-15 10:35:54,471 - INFO - 127.0.0.1 - - [15/Jan/2025 10:35:54] "GET /log HTTP/1.1" 200 -
2025-01-15 10:36:02,686 - INFO - 尝试打开Web应用日志文件: e:\Self-Tool-Code\PyBot\resources\log\app.log
2025-01-15 10:36:02,691 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:02] "GET /weblog HTTP/1.1" 500 -
2025-01-15 10:36:02,928 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:02] "GET /weblog?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
2025-01-15 10:36:02,938 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:02] "GET /weblog?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
2025-01-15 10:36:02,944 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:02] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:36:02,999 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:02] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:36:03,004 - INFO - 访问主页
2025-01-15 10:36:03,005 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:03] "GET /?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:36:27,336 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:36:27,354 - INFO - * Restarting with stat
2025-01-15 10:36:27,520 - WARNING - * Debugger is active!
2025-01-15 10:36:27,520 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:36:38,732 - INFO - 尝试打开Web应用日志文件: e:\Self-Tool-Code\PyBot\resources\log\app.log
2025-01-15 10:36:38,732 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:38] "GET /weblog HTTP/1.1" 500 -
2025-01-15 10:36:39,005 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:39] "GET /weblog?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
2025-01-15 10:36:39,005 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:39] "GET /weblog?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
2025-01-15 10:36:39,028 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:39] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:36:39,087 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:39] "GET /weblog?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
2025-01-15 10:36:39,235 - INFO - 访问主页
2025-01-15 10:36:39,237 - INFO - 127.0.0.1 - - [15/Jan/2025 10:36:39] "GET /?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js HTTP/1.1" 200 -
2025-01-15 10:37:00,599 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:37:00,607 - INFO - * Restarting with stat
2025-01-15 10:37:00,773 - WARNING - * Debugger is active!
2025-01-15 10:37:00,773 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:37:02,151 - INFO - 尝试打开Web应用日志文件: e:\Self-Tool-Code\PyBot\resources\log\app.log
2025-01-15 10:37:02,151 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:02] "GET /weblog HTTP/1.1" 200 -
2025-01-15 10:37:41,500 - INFO - 访问主页
2025-01-15 10:37:41,502 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:41] "GET / HTTP/1.1" 200 -
2025-01-15 10:37:41,563 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:37:41,563 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:41] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:37:45,931 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:37:45,931 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:45] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:37:47,322 - INFO - 尝试打开百度新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\baidu_news.md
2025-01-15 10:37:47,322 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:47] "GET /get-baidu-news HTTP/1.1" 200 -
2025-01-15 10:37:48,338 - INFO - 尝试打开GitHub新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:37:48,338 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:48] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:37:56,235 - INFO - 尝试打开微信新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\wx_news.md
2025-01-15 10:37:56,235 - INFO - 127.0.0.1 - - [15/Jan/2025 10:37:56] "GET /get-wx-news HTTP/1.1" 200 -
2025-01-15 10:38:02,107 - INFO - 尝试打开百度新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\baidu_news.md
2025-01-15 10:38:02,107 - INFO - 127.0.0.1 - - [15/Jan/2025 10:38:02] "GET /get-baidu-news HTTP/1.1" 200 -
2025-01-15 10:38:03,250 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:38:03,250 - INFO - 127.0.0.1 - - [15/Jan/2025 10:38:03] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:38:04,034 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:38:04,034 - INFO - 127.0.0.1 - - [15/Jan/2025 10:38:04] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:38:05,131 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:38:05,131 - INFO - 127.0.0.1 - - [15/Jan/2025 10:38:05] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:39:43,155 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:39:43,155 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:43] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:39:43,826 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:39:43,826 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:43] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:39:44,571 - INFO - 尝试打开百度新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\baidu_news.md
2025-01-15 10:39:44,571 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:44] "GET /get-baidu-news HTTP/1.1" 200 -
2025-01-15 10:39:45,346 - INFO - 尝试打开GitHub新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:39:45,346 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:45] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:39:46,011 - INFO - 尝试打开微信新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\wx_news.md
2025-01-15 10:39:46,011 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:46] "GET /get-wx-news HTTP/1.1" 200 -
2025-01-15 10:39:46,739 - INFO - 尝试打开GitHub新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:39:46,739 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:46] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:39:49,491 - INFO - 尝试打开微信新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\wx_news.md
2025-01-15 10:39:49,491 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:49] "GET /get-wx-news HTTP/1.1" 200 -
2025-01-15 10:39:55,812 - INFO - 尝试打开百度新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\baidu_news.md
2025-01-15 10:39:55,812 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:55] "GET /get-baidu-news HTTP/1.1" 200 -
2025-01-15 10:39:56,562 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:39:56,564 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:56] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:39:57,002 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:39:57,002 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:57] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:39:57,467 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:39:57,467 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:57] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:39:57,769 - INFO - 尝试打开百度新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\baidu_news.md
2025-01-15 10:39:57,769 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:57] "GET /get-baidu-news HTTP/1.1" 200 -
2025-01-15 10:39:58,122 - INFO - 尝试打开GitHub新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:39:58,122 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:58] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:39:58,667 - INFO - 尝试打开微信新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\wx_news.md
2025-01-15 10:39:58,667 - INFO - 127.0.0.1 - - [15/Jan/2025 10:39:58] "GET /get-wx-news HTTP/1.1" 200 -
2025-01-15 10:40:26,089 - INFO - 访问主页
2025-01-15 10:40:26,089 - INFO - 127.0.0.1 - - [15/Jan/2025 10:40:26] "GET / HTTP/1.1" 200 -
2025-01-15 10:40:30,767 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:40:30,768 - INFO - 127.0.0.1 - - [15/Jan/2025 10:40:30] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:40:32,210 - INFO - 127.0.0.1 - - [15/Jan/2025 10:40:32] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:40:33,485 - INFO - 尝试打开技术文章历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\tech_passage.md
2025-01-15 10:40:33,485 - INFO - 127.0.0.1 - - [15/Jan/2025 10:40:33] "GET /get-tech-passage HTTP/1.1" 200 -
2025-01-15 10:40:34,187 - INFO - 尝试打开百度新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\baidu_news.md
2025-01-15 10:40:34,187 - INFO - 127.0.0.1 - - [15/Jan/2025 10:40:34] "GET /get-baidu-news HTTP/1.1" 200 -
2025-01-15 10:40:34,915 - INFO - 尝试打开GitHub新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:40:34,915 - INFO - 127.0.0.1 - - [15/Jan/2025 10:40:34] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:41:25,868 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
2025-01-15 10:41:25,869 - INFO - Press CTRL+C to quit
2025-01-15 10:41:25,870 - INFO - * Restarting with stat
2025-01-15 10:41:26,031 - WARNING - * Debugger is active!
2025-01-15 10:41:26,035 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:41:28,785 - INFO - 访问主页
2025-01-15 10:41:28,787 - INFO - 127.0.0.1 - - [15/Jan/2025 10:41:28] "GET / HTTP/1.1" 200 -
2025-01-15 10:41:28,839 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:41:28,839 - INFO - 127.0.0.1 - - [15/Jan/2025 10:41:28] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:41:30,509 - INFO - 尝试打开GitHub新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:41:30,510 - INFO - 127.0.0.1 - - [15/Jan/2025 10:41:30] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:44:14,440 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:44:14,458 - INFO - * Restarting with stat
2025-01-15 10:44:14,628 - WARNING - * Debugger is active!
2025-01-15 10:44:14,632 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:49:41,358 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:49:41,371 - INFO - * Restarting with stat
2025-01-15 10:49:41,547 - WARNING - * Debugger is active!
2025-01-15 10:49:41,550 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:49:49,573 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:49:49,594 - INFO - * Restarting with stat
2025-01-15 10:49:49,753 - WARNING - * Debugger is active!
2025-01-15 10:49:49,756 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:50:06,796 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:50:06,809 - INFO - * Restarting with stat
2025-01-15 10:50:06,967 - WARNING - * Debugger is active!
2025-01-15 10:50:06,983 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:50:20,016 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:50:20,041 - INFO - * Restarting with stat
2025-01-15 10:50:20,202 - WARNING - * Debugger is active!
2025-01-15 10:50:20,206 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:50:41,828 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
2025-01-15 10:50:41,828 - INFO - Press CTRL+C to quit
2025-01-15 10:50:41,829 - INFO - * Restarting with stat
2025-01-15 10:50:41,989 - WARNING - * Debugger is active!
2025-01-15 10:50:42,005 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:50:44,977 - INFO - 访问主页
2025-01-15 10:50:44,977 - INFO - 127.0.0.1 - - [15/Jan/2025 10:50:44] "GET / HTTP/1.1" 200 -
2025-01-15 10:50:45,047 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:50:45,047 - INFO - 127.0.0.1 - - [15/Jan/2025 10:50:45] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:50:47,188 - INFO - 尝试打开GitHub历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:50:47,188 - INFO - 127.0.0.1 - - [15/Jan/2025 10:50:47] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:51:11,628 - INFO - 访问主页
2025-01-15 10:51:11,628 - INFO - 127.0.0.1 - - [15/Jan/2025 10:51:11] "GET / HTTP/1.1" 200 -
2025-01-15 10:52:55,338 - INFO - 访问主页
2025-01-15 10:52:55,338 - INFO - 127.0.0.1 - - [15/Jan/2025 10:52:55] "GET / HTTP/1.1" 200 -
2025-01-15 10:52:56,822 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:52:56,823 - INFO - 127.0.0.1 - - [15/Jan/2025 10:52:56] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:52:58,209 - INFO - 尝试打开GitHub历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:52:58,209 - INFO - 127.0.0.1 - - [15/Jan/2025 10:52:58] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:53:27,380 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
2025-01-15 10:53:27,380 - INFO - Press CTRL+C to quit
2025-01-15 10:53:27,380 - INFO - * Restarting with stat
2025-01-15 10:53:27,547 - WARNING - * Debugger is active!
2025-01-15 10:53:27,547 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:53:30,325 - INFO - 访问主页
2025-01-15 10:53:30,328 - INFO - 127.0.0.1 - - [15/Jan/2025 10:53:30] "GET / HTTP/1.1" 200 -
2025-01-15 10:53:31,491 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:53:31,492 - INFO - 127.0.0.1 - - [15/Jan/2025 10:53:31] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:53:31,888 - INFO - 127.0.0.1 - - [15/Jan/2025 10:53:31] "GET /static/favicon.ico HTTP/1.1" 404 -
2025-01-15 10:54:17,749 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:54:17,771 - INFO - * Restarting with stat
2025-01-15 10:54:17,930 - WARNING - * Debugger is active!
2025-01-15 10:54:17,933 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:54:20,908 - INFO - 访问主页
2025-01-15 10:54:20,912 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:20] "GET / HTTP/1.1" 200 -
2025-01-15 10:54:21,912 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:54:21,913 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:21] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:54:31,567 - INFO - 尝试打开GitHub历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:54:31,567 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:31] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:54:55,273 - INFO - 访问主页
2025-01-15 10:54:55,273 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:55] "GET / HTTP/1.1" 200 -
2025-01-15 10:54:56,226 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:54:56,226 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:56] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:54:56,640 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:56] "GET /static/favicon.ico HTTP/1.1" 404 -
2025-01-15 10:54:58,021 - INFO - 尝试打开GitHub历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:54:58,021 - INFO - 127.0.0.1 - - [15/Jan/2025 10:54:58] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 10:55:09,953 - INFO - 127.0.0.1 - - [15/Jan/2025 10:55:09] "GET /static/favicon.ico HTTP/1.1" 404 -
2025-01-15 10:55:10,267 - INFO - 127.0.0.1 - - [15/Jan/2025 10:55:10] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:56:09,173 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:56:09,189 - INFO - * Restarting with stat
2025-01-15 10:56:09,358 - WARNING - * Debugger is active!
2025-01-15 10:56:09,358 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:56:12,610 - INFO - 127.0.0.1 - - [15/Jan/2025 10:56:12] "GET /static/favicon.ico HTTP/1.1" 404 -
2025-01-15 10:56:21,177 - INFO - 127.0.0.1 - - [15/Jan/2025 10:56:21] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:56:31,416 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:56:31,440 - INFO - * Restarting with stat
2025-01-15 10:56:31,596 - WARNING - * Debugger is active!
2025-01-15 10:56:31,600 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:57:57,879 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:57:57,900 - INFO - * Restarting with stat
2025-01-15 10:57:58,047 - WARNING - * Debugger is active!
2025-01-15 10:57:58,047 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:58:39,569 - INFO - 127.0.0.1 - - [15/Jan/2025 10:58:39] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:58:40,057 - INFO - 127.0.0.1 - - [15/Jan/2025 10:58:40] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:58:40,309 - INFO - 127.0.0.1 - - [15/Jan/2025 10:58:40] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:58:40,557 - INFO - 127.0.0.1 - - [15/Jan/2025 10:58:40] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:58:40,753 - INFO - 127.0.0.1 - - [15/Jan/2025 10:58:40] "GET /favicon.ico HTTP/1.1" 404 -
2025-01-15 10:58:44,306 - INFO - 127.0.0.1 - - [15/Jan/2025 10:58:44] "GET /static/favicon.ico HTTP/1.1" 404 -
2025-01-15 10:59:25,233 - INFO - * Detected change in 'e:\\Self-Tool-Code\\PyBot\\web\\app.py', reloading
2025-01-15 10:59:25,254 - INFO - * Restarting with stat
2025-01-15 10:59:25,414 - WARNING - * Debugger is active!
2025-01-15 10:59:25,417 - INFO - * Debugger PIN: 177-640-518
2025-01-15 10:59:28,366 - INFO - 127.0.0.1 - - [15/Jan/2025 10:59:28] "GET /static/favicon.ico HTTP/1.1" 200 -
2025-01-15 10:59:33,459 - INFO - 访问主页
2025-01-15 10:59:33,461 - INFO - 127.0.0.1 - - [15/Jan/2025 10:59:33] "GET / HTTP/1.1" 200 -
2025-01-15 10:59:34,361 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 10:59:34,362 - INFO - 127.0.0.1 - - [15/Jan/2025 10:59:34] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 10:59:53,927 - INFO - 尝试打开微信历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\wx_news.md
2025-01-15 10:59:53,928 - INFO - 127.0.0.1 - - [15/Jan/2025 10:59:53] "GET /get-wx-news HTTP/1.1" 200 -
2025-01-15 10:59:54,854 - INFO - 尝试打开GitHub历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\github.md
2025-01-15 10:59:54,855 - INFO - 127.0.0.1 - - [15/Jan/2025 10:59:54] "GET /get-github-news HTTP/1.1" 200 -
2025-01-15 11:00:12,588 - INFO - 访问主页
2025-01-15 11:00:12,588 - INFO - 127.0.0.1 - - [15/Jan/2025 11:00:12] "GET / HTTP/1.1" 200 -
2025-01-15 11:00:21,321 - INFO - 尝试打开安全新闻历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\sec_news.md
2025-01-15 11:00:21,321 - INFO - 127.0.0.1 - - [15/Jan/2025 11:00:21] "GET /get-sec-news HTTP/1.1" 200 -
2025-01-15 11:00:21,708 - INFO - 127.0.0.1 - - [15/Jan/2025 11:00:21] "GET /static/favicon.ico HTTP/1.1" 200 -
2025-01-15 11:00:23,182 - INFO - 尝试打开微信历史推送文件: e:\Self-Tool-Code\PyBot\resources\history\wx_news.md
2025-01-15 11:00:23,198 - INFO - 127.0.0.1 - - [15/Jan/2025 11:00:23] "GET /get-wx-news HTTP/1.1" 200 -

View File

@ -70,12 +70,28 @@
#markdown-content a:hover { #markdown-content a:hover {
text-decoration: underline; /* 可选:鼠标悬停时显示下划线 */ text-decoration: underline; /* 可选:鼠标悬停时显示下划线 */
} }
/* 按钮样式调整 */
#button-container {
flex-direction: column; /* 换行显示按钮 */
align-items: center; /* 按钮居中对齐 */
}
#button-container .layui-btn {
margin: 5px 0; /* 增加按钮间距 */
width: 90%; /* 调整按钮宽度 */
max-width: 300px; /* 设置最大宽度 */
}
} }
</style> </style>
</head> </head>
<body> <body>
<div class="layui-container"> <div class="layui-container">
<center><h1 class="layui-title" id="page-title">历史推送读取</h1><br> <center><h1 class="layui-title" id="page-title">历史推送读取</h1><br>
<!-- 折叠面板 -->
<div class="layui-collapse" lay-filter="test">
<div class="layui-colla-item">
<h2 class="layui-colla-title">选择监控源新闻类型</h2>
<div class="layui-colla-content">
<div id="button-container" class="layui-btn-group"> <div id="button-container" class="layui-btn-group">
<button id="sec-news-btn" class="layui-btn">安全新闻</button> <button id="sec-news-btn" class="layui-btn">安全新闻</button>
<button id="tech-passage-btn" class="layui-btn">技术文章</button> <button id="tech-passage-btn" class="layui-btn">技术文章</button>
@ -83,6 +99,9 @@
<button id="github-news-btn" class="layui-btn">GitHub新闻</button> <button id="github-news-btn" class="layui-btn">GitHub新闻</button>
<button id="wx-news-btn" class="layui-btn">微信新闻</button> <button id="wx-news-btn" class="layui-btn">微信新闻</button>
</div> </div>
</div>
</div>
</div>
<h4>为保证网页运作性能默认仅读取前20条记录若您有需求可自行更改app.py</h4></center> <h4>为保证网页运作性能默认仅读取前20条记录若您有需求可自行更改app.py</h4></center>
<div id="markdown-content" class="layui-card-body"></div> <div id="markdown-content" class="layui-card-body"></div>
</div> </div>
@ -93,8 +112,9 @@
<!-- 引入 Layui 的 JS --> <!-- 引入 Layui 的 JS -->
<script src="https://cdn.jsdelivr.net/npm/layui-src/dist/layui.js"></script> <script src="https://cdn.jsdelivr.net/npm/layui-src/dist/layui.js"></script>
<script> <script>
layui.use(['layer'], function(){ layui.use(['layer', 'element'], function(){
var layer = layui.layer; var layer = layui.layer;
var element = layui.element;
var buttonMap = { var buttonMap = {
'sec-news-btn': '/get-sec-news', 'sec-news-btn': '/get-sec-news',
@ -132,6 +152,8 @@
if (data.content) { if (data.content) {
const htmlContent = marked.parse(data.content); const htmlContent = marked.parse(data.content);
document.getElementById('markdown-content').innerHTML = htmlContent; document.getElementById('markdown-content').innerHTML = htmlContent;
// 添加这一行代码
addTargetBlankToLinks();
} else { } else {
document.getElementById('markdown-content').innerHTML = '<p>加载历史推送文件时出错!(推送历史记录为空)</p>'; document.getElementById('markdown-content').innerHTML = '<p>加载历史推送文件时出错!(推送历史记录为空)</p>';
} }
@ -139,7 +161,7 @@
.catch(error => { .catch(error => {
console.error('获取源文件失败:', error); console.error('获取源文件失败:', error);
document.getElementById('markdown-content').innerHTML = '<p>无法加载历史推送文件!</p>'; document.getElementById('markdown-content').innerHTML = '<p>无法加载历史推送文件!</p>';
layer.msg('Failed to load markdown.', {icon: 5}); layer.msg('加载资源失败', {icon: 5});
}); });
} }
@ -147,6 +169,11 @@
Object.keys(buttonMap).forEach(key => { Object.keys(buttonMap).forEach(key => {
document.getElementById(key).addEventListener('click', function() { document.getElementById(key).addEventListener('click', function() {
fetchContent(buttonMap[key], key); fetchContent(buttonMap[key], key);
// Check if the device is mobile
if (isMobileDevice()) {
// Collapse the panel
element.collapse('hide', 'test', 0);
}
}); });
}); });
@ -173,6 +200,23 @@
document.body.scrollTop = 0; document.body.scrollTop = 0;
document.documentElement.scrollTop = 0; document.documentElement.scrollTop = 0;
}); });
// 检测是否为移动设备
function isMobileDevice() {
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
}
function addTargetBlankToLinks() {
var links = document.querySelectorAll('#markdown-content a');
links.forEach(function(link) {
link.setAttribute('target', '_blank');
});
}
// 在页面加载完成后调用该函数
window.onload = function() {
addTargetBlankToLinks();
};
</script> </script>
</body> </body>
</html> </html>

View File

@ -9,7 +9,7 @@ check_config.py: 核查配置信息并获取到配置信息返回给核心程序
app.py: web运行日志 app.py: web运行日志
core.py: 程序运行日志 core.py: 程序运行日志
- ./media - ./spider
爬取RSS源以及信息源的json数据并保存 爬取RSS源以及信息源的json数据并保存
- ./resources/JSON - ./resources/JSON