Ljzd-PRO / KToolBox

Downloader for Kemono.party / .su with High Customizability | 高度可自定义性的 Kemono 下载器
https://ktoolbox.readthedocs.io
BSD 3-Clause "New" or "Revised" License
172 stars 7 forks source link

Can tasks be created solely based on the author's original name instead of their ID? #113

Open rosechicken opened 1 month ago

rosechicken commented 1 month ago

Sometimes, if fetching the username fails, it defaults to using the ID for naming.

which might lead to redundant downloads if you're using "ktoolbox sync-creator" to retry downloading previously failed files, as the naming based on ID might differ.

It's hoped to include a feature to retry reading the author's name when it fails, instead of using the ID for naming.

Ljzd-PRO commented 1 month ago

By default, all Kemono APIs will retry up to 3 times. You can modify this by setting KTOOLBOX_API__RETRY_TIMES.

# .env.prod
KTOOLBOX_API__RETRY_TIMES=10