KuoriaNeko / civitai-scraper

A CivitAI scraper
GNU General Public License v3.0
36 stars 11 forks source link

API貌似变了 #4

Closed Lawrence-Dean closed 1 year ago

Lawrence-Dean commented 1 year ago

拉到2/3报错 Downloaded https://imagecache.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/34b5120b-dc15-42e7-6abf-c15d71ea1300/width=450/292580 https://civitai.com/api/v1/models?sort=Highest%20Rated&limit=5&types=LORA&page=1341 Expecting value: line 1 column 1 (char 0) Failed to get meta, waiting for 60s https://civitai.com/api/v1/models?sort=Highest%20Rated&limit=5&types=LORA&page=1341 Expecting value: line 1 column 1 (char 0) Failed to get meta, waiting for 60s https://civitai.com/api/v1/models?sort=Highest%20Rated&limit=5&types=LORA&page=1341 Expecting value: line 1 column 1 (char 0)

git pull到最新版后,

λ python main.py --download --dir "..\Civitai Backup\LORA" --param "sort=Highest Rated" --param "limit=5" --param "types=LORA" --latest-only [2023-04-04 09:39:27 +0800] [ERROR] [main.py:46] Expecting value: line 1 column 1 (char 0) [2023-04-04 09:39:27 +0800] [ERROR] [main.py:51] failed to get meta, waiting for 60s [2023-04-04 09:40:28 +0800] [ERROR] [main.py:46] Expecting value: line 1 column 1 (char 0) [2023-04-04 09:40:28 +0800] [ERROR] [main.py:51] failed to get meta, waiting for 60s [2023-04-04 09:41:28 +0800] [ERROR] [main.py:46] Expecting value: line 1 column 1 (char 0) [2023-04-04 09:41:28 +0800] [ERROR] [main.py:49] failed to get metadata, maximum retires exceeded

KuoriaNeko commented 1 year ago

We're adjusting a few things, be back in a few minutes... This is fine

CivitiAI 炸了

Lawrence-Dean commented 1 year ago

好的,过了一会儿可以了,应该是C站没数据返回 tks