Update 测绘站采集.py

This commit is contained in:
frxz751113
2024-09-12 21:11:04 +08:00
committed by GitHub
parent 32f6e7939b
commit b9a9477df1
+3 -3
View File
@@ -757,11 +757,11 @@ file_path = "综合源.txt"
with open(file_path, 'r+', encoding='utf-8') as f: with open(file_path, 'r+', encoding='utf-8') as f:
content = f.read() content = f.read()
f.seek(0, 0) f.seek(0, 0)
f.write(f'{content\n') f.write(f'{content}\n')
f.write(f'{更新时间,#genre#\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'请您欣赏,https://vd2.bdstatic.com/mda-mi1dd05gmhwejdwn/sc/cae_h264/1630576203346678103/mda-mi1dd05gmhwejdwn.mp4\n')
f.write(f'{current_time},#genre#\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')
################################################################################################任务结束,删除不必要的过程文件 ################################################################################################任务结束,删除不必要的过程文件