摘要: 1 import re 2 import requests 3 4 # 读取本地的xml文件 5 with open('.\lol.txt', 'r', encoding='utf-8') as f: 6 for line in f: 7 if '"instance_id"' in line: 8 阅读全文
posted @ 2023-11-26 19:41 擎天柱的舍利子 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ``` import requests import parsel import csv import re # 将表头写入CSV文件 with open('xxxgame.csv', mode='a', encoding='utf-8-sig', newline='') as f: csv_wri 阅读全文
posted @ 2023-08-11 18:49 擎天柱的舍利子 阅读(26) 评论(0) 推荐(0) 编辑