From 32f6e7939b2f588a5686cea30d9f04b621e54386 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:03:13 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E6=B5=8B=E7=BB=98=E7=AB=99=E9=87=87?= =?UTF-8?q?=E9=9B=86.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/测绘站采集.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/测绘站采集.py b/py/测绘站采集.py index 9d9a1d6..12ea61c 100644 --- a/py/测绘站采集.py +++ b/py/测绘站采集.py @@ -757,7 +757,8 @@ file_path = "综合源.txt" with open(file_path, 'r+', encoding='utf-8') as f: content = f.read() f.seek(0, 0) - f.write(f'{content\n更新时间,#genre#\n') + f.write(f'{content\n') + f.write(f'{更新时间,#genre#\n') f.write(f'请您欣赏,https://vd2.bdstatic.com/mda-mi1dd05gmhwejdwn/sc/cae_h264/1630576203346678103/mda-mi1dd05gmhwejdwn.mp4\n') f.write(f'{current_time},#genre#\n') f.write(f'虚情的爱,https://vd2.bdstatic.com/mda-mi1dd05gmhwejdwn/sc/cae_h264/1630576203346678103/mda-mi1dd05gmhwejdwn.mp4\n}')