mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-10-07 08:18:11 +08:00
docs: 更新README文档以支持SQLite数据库存储
- 更新 README.md 文件,在数据保存部分新增SQLite数据库支持说明,强调其轻量级特性和个人使用优势 - 更新 README_en.md 文件,在数据存储部分添加SQLite数据库介绍,提供英文版本的使用指导和示例 - 更新 README_es.md 文件,在数据存储部分增加SQLite数据库说明,提供西班牙语版本的配置和使用方法
This commit is contained in:
@@ -195,11 +195,23 @@ python main.py --help
|
||||
|
||||
Supports multiple data storage methods:
|
||||
|
||||
- **SQLite Database**: Lightweight database without server, ideal for personal use (recommended)
|
||||
- Parameter: `--save_data_option sqlite`
|
||||
- Database file created automatically
|
||||
- **MySQL Database**: Supports saving to relational database MySQL (need to create database in advance)
|
||||
- Execute `python db.py` to initialize database table structure (only execute on first run)
|
||||
- **CSV Files**: Supports saving to CSV (under `data/` directory)
|
||||
- **JSON Files**: Supports saving to JSON (under `data/` directory)
|
||||
|
||||
### Usage Examples:
|
||||
```shell
|
||||
# Use SQLite (recommended for personal users)
|
||||
uv run main.py --platform xhs --lt qrcode --type search --save_data_option sqlite
|
||||
|
||||
# Use MySQL
|
||||
uv run main.py --platform xhs --lt qrcode --type search --save_data_option db
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
[🚀 MediaCrawlerPro Major Release 🚀! More features, better architectural design!](https://github.com/MediaCrawlerPro)
|
||||
|
||||
Reference in New Issue
Block a user