调整美图文件下载路径。写入到共享目录里面。

This commit is contained in:
liuwei
2025-05-06 16:14:45 +08:00
parent fd4a709958
commit 6f845e6377

View File

@@ -16,7 +16,7 @@ headers = {
} }
seen_posts = set() seen_posts = set()
download_root = "xiuren" # 全局定义下载根目录 download_root = "/mnt/nfs_share" # 全局定义下载根目录
download_root_heisi = 'xiuren/heisi' download_root_heisi = 'xiuren/heisi'
@@ -171,9 +171,6 @@ def meitu_dowload_pub_pic():
meitu_dowload_pic(download_root, "https://www.mntuce.com/") meitu_dowload_pic(download_root, "https://www.mntuce.com/")
def meitu_dowload_heisi_pic():
meitu_dowload_pic(download_root_heisi, "https://www.mntuce.com/tag/%e4%b8%9d%e7%a4%be")
if __name__ == "__main__": if __name__ == "__main__":
meitu_dowload_heisi_pic() meitu_dowload_pub_pic()