From b9a9477df14fb16cf72e817ed1e2efca45c1797c Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:11:04 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py/测绘站采集.py b/py/测绘站采集.py index 12ea61c..ab4310d 100644 --- a/py/测绘站采集.py +++ b/py/测绘站采集.py @@ -757,11 +757,11 @@ 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') - f.write(f'{更新时间,#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}') + f.write(f'虚情的爱,https://vd2.bdstatic.com/mda-mi1dd05gmhwejdwn/sc/cae_h264/1630576203346678103/mda-mi1dd05gmhwejdwn.mp4\n') ################################################################################################任务结束,删除不必要的过程文件