跨平台的,一键爬虫下载工具,旨在自动化下载CurseForge等其他平台上公开的文件,简化游戏模组以及其他文件的管理和安装过程。通过使用该工具,用户可以高效地获取和安装所有相关的模组或者其他文件,提升整合包制作效率和游戏体验。
A one-click download tool designed to automate the process of downloading publicly available files from platforms like CurseForge and others. It simplifies the management and installation of game mods and other files. By using this tool, users can efficiently acquire and install all related mods or other files, improving the efficiency of modpack creation and enhancing the gaming experience.
由于CourseForge内置网络防火墙,并且限定非美国地区的ip请求,本程序的所有功能仅支持在美国网络下下载,没有的盆友不用担心,可以使用下方的服务商切换到美国ip地区下载:
👓NCloud 10元/月👓
- 使用上方的邀请码链接注册,随机获取返券奖励
- 同时支持Clash/Surge/Shadowrocket/Surfboard/Quantumult X
- 全网超低价,支持UDP转发
- 1TB/月流量
美化的彩色输出,丰富的文本提示
高并发的毫秒级下载
丰富的个性化配置文件
人性化的信息存留,方便用户后续检查问题
首先,在本地安装uv包管理库:
pip install uv
随后,克隆本仓库:
git clone https://github.com/vicuna-main/McFileFetcher.git
然后,运行uv安装依赖库:
uv sync
最后,激活虚拟环境(Windows):
./.venv/Script/activate
其他平台激活方式:
source .venv/bin/activate
首先,你需要安装 PyInstaller。你可以通过 pip 安装它:
pip install pyinstaller
确保你的 Python 脚本(例如 your_script.py)在一个独立的文件夹中,并且所有依赖项和资源文件都已正确设置。
在命令行中导航到你的 Python 脚本所在的目录,然后运行 PyInstaller 命令。以下是将脚本打包成单个可执行文件的基本命令:
pyinstaller --onefile your_script.py
--onefile
:将所有内容打包成一个单独的可执行文件。
your_script.py
:你的 Python 脚本文件名。