摘要: import re # 读取文件内容 with open("1.txt", "r", encoding="utf-8") as file: content = file.read() # 使用正则表达式查找所有 class="c08e6e93" 之后的文本内容 # 假设内容在标签内,如 <div c 阅读全文
posted @ 2026-02-05 13:38 lvsuifeng 阅读(6) 评论(0) 推荐(0)