Files
kenney-asset-scrapper/.gitignore
xiaomai ad4462ef8a refactor(core): replace JSON-based pipeline with MySQL database
This commit introduces a major architectural overhaul, migrating the data backend from a flat JSON
file to a relational MySQL database.

- Replaced multiple scraping scripts with a unified `main.py` that handles crawling, parsing, and
database synchronization.
- Introduced `mysql_helper.py` for robust database interaction with a connection pool.
- Added `queries.sql` defining the new database schema for assets, categories, tags, and changelogs.
- Removed all obsolete frontend code (v1, v2) and old scraping scripts.

This change provides a more scalable and maintainable foundation for managing asset data.
2025-09-14 23:11:00 +08:00

55 lines
639 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Python 缓存文件
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.pyc
# 编辑器配置
.vscode/
.idea/
*.sublime-workspace
*.sublime-project
# OS 系统文件
.DS_Store
Thumbs.db
# 虚拟环境
.env/
.venv/
venv/
ENV/
env.bak/
# 日志与运行时生成
*.log
# 数据与下载目录
scrapper/kenney_data.json
scrapper/kenney_data_local.json
scrapper/kenney_links.txt
kenney_assets/
kenney_assets_images/
# 临时测试文件
*.tmp
*.bak
*.old
# node/npm/yarn如前端使用过
node_modules/
dist/
build/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# 压缩包等导出文件
*.zip
*.tar.gz
*.rar
# Output
media