-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
执行下载代码后 就出错了
PS C:\Users\MICROSOFT> ktoolbox sync-creator https://kemono.cr/fanbox/user/9016 --path J:\kemono.party
2025-09-21 14:17:36 | INFO | ktoolbox.cli - Configuration(api=APIConfiguration(scheme='https', netloc='kemono.cr', statics_netloc='img.kemono.cr', files_netloc='kemono.cr', path='/api/v1', timeout=5.0, retry_times=3, retry_interval=2.0, session_key=''), downloader=DownloaderConfiguration(scheme='https', timeout=30.0, encoding='utf-8', buffer_size=20480, chunk_size=1024, temp_suffix='tmp', retry_times=10, retry_stop_never=False, retry_interval=3.0, tps_limit=1.0, use_bucket=False, bucket_path=WindowsPath('.ktoolbox/bucket_storage'), reverse_proxy='{}'), job=JobConfiguration(count=3, include_revisions=False, post_dirname_format='[{service}][{published}]{id}-{title}[{edited}]', post_structure=PostStructureConfiguration(attachments=WindowsPath('.'), content=WindowsPath('content.txt'), external_links=WindowsPath('external_links.txt'), file='{id}', revisions=WindowsPath('revisions')), mix_posts=False, sequential_filename=True, sequential_filename_excludes=set(), filename_format='{}', allow_list=set(), block_list=set(), extract_external_links=True, external_link_patterns=['https?://drive\.google\.com/[^\\s]+', 'https?://docs\.google\.com/[^\\s]+', 'https?://mega\.nz/[^\\s]+', 'https?://mega\.co\.nz/[^\\s]+', 'https?://(?:www\.)?dropbox\.com/[^\\s]+', 'https?://db\.tt/[^\\s]+', 'https?://onedrive\.live\.com/[^\\s]+', 'https?://1drv\.ms/[^\\s]+', 'https?://(?:www\.)?mediafire\.com/[^\\s]+', 'https?://(?:www\.)?wetransfer\.com/[^\\s]+', 'https?://we\.tl/[^\\s]+', 'https?://(?:www\.)?sendspace\.com/[^\\s]+', 'https?://(?:www\.)?4shared\.com/[^\\s]+', 'https?://(?:www\.)?zippyshare\.com/[^\\s]+', 'https?://(?:www\.)?uploadfiles\.io/[^\\s]+', 'https?://(?:www\.)?box\.com/[^\\s]+', 'https?://(?:www\.)?pcloud\.com/[^\\s]+', 'https?://disk\.yandex\.[a-z]+/[^\\s]+', 'https?://[^\\s](?:file|upload|share|download|drive|storage)[^\\s]\.[a-z]{2,4}/[^\\s]+']), logger=LoggerConfiguration(path=None, level='DEBUG', rotation='1 week'), ssl_verify=True, json_dump_indent=4, use_uvloop=True)
2025-09-21 14:17:41 | ERROR | ktoolbox.api.base - Kemono API call failed - {'ret': APIRet(code=1002, message="1 validation error for Response\n Invalid JSON: expected ident at line 1 column 2 [type=json_invalid, input_value='If you want to scrape, u...o exception to caching.', input_type=str]\n For further information visit https://errors.pydantic.dev/2.11/v/json_invalid", exception=1 validation error for Response
Invalid JSON: expected ident at line 1 column 2 [type=json_invalid, input_value='If you want to scrape, u...o exception to caching.', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/json_invalid, data=None)}
2025-09-21 14:17:41 | ERROR | ktoolbox.cli - Failed to fetch the name of creator <9016> - {'detail': "1 validation error for Response\n Invalid JSON: expected ident at line 1 column 2 [type=json_invalid, input_value='If you want to scrape, u...o exception to caching.', input_type=str]\n For further information visit https://errors.pydantic.dev/2.11/v/json_invalid"}
1 validation error for Response
Invalid JSON: expected ident at line 1 column 2 [type=json_invalid, input_value='If you want to scrape, u...o exception to caching.', input_type=str]
For further information visit https://errors.pydantic.dev/2.11/v/json_invalid