创建并激活 python 虚拟环境
cd MediaCrawler
python -m venv venv
source venv/bin/activate
venv\Scripts\activate
pip3 install -r requirements.txt
playwright install
python main.py --platform xhs --lt qrcode --type search
python main.py --platform xhs --lt qrcode --type detail
数据保存 支持保存到关系型数据库(Mysql、PgSQL等) 支持保存到csv中(data/目录下) 支持保存到json中(data/目录下)