文章分类 -  保存文件

摘要:from lxml import etreeimport asyncioimport aiofilesimport aiohttpimport csvasync def xin(url): async with aiohttp.ClientSession() as session: async wi 阅读全文
posted @ 2023-08-03 22:31 严永富 阅读(5) 评论(0) 推荐(0)
摘要:电影 m3u8 ts 的保存with open("second_m3u8.txt", mode="w", encoding="utf-8") as f: f.write(second_m3u8) 阅读全文
posted @ 2023-08-03 22:30 严永富 阅读(7) 评论(0) 推荐(0)
摘要:# 先手动创建个目录,名为 电影_源_加密后async with aiofiles.open(f"./电影_源_加密后/{file_name}", mode="wb") as f: await f.write(content) 阅读全文
posted @ 2023-08-03 22:30 严永富 阅读(5) 评论(0) 推荐(0)