高速异步爬虫从 https://emby.xiaoya.pro/ 同步小雅元数据
Linux kernal "Max open files" need to be extended
Save it into /etc/profile.d/ to make it global avaiable after reboot
ulimit -n 4096
git clone https://github.com/Rik-F5/xiaoya_db
cd xiaoya_db
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python solid.py --media <Xiaoya Folder>
Download the metadata without replace the local NFOs
python solid.py --media <folder>
Download the metadata and replace the local NFOs if they are out of date or different
python solid.py --media <folder> --nfo true
Download the metadata and save the file list to a local DB (Python3.12+)
python solid.py --media <folder> --db true
Do not download any files. For testing or benchmark only.
python solid.py
-h, --help show this help message and exit
--media <folder> Path to store downloaded media files [Default: None]
--count [number] Max concurrent HTTP Requests [Default: 100]
--debug, --no-debug Verbose debug [Default: False]
--db, --no-db <Python3.12+ required> Save into DB [Default: False]
--nfo, --no-nfo Download NFO [Default: False]
--url [url] Download path [Default: None]
···