yodhcn / dlsite-doujin-renamer Goto Github PK
View Code? Open in Web Editor NEW「DLsite 同人作品重命名工具」依据 RJ|VJ|BJ 号从 dlsite.com 爬取 "标题" 和 "社团" 等信息,按照自定义模板对文件夹批量格式化命名,并将文件夹封面修改为作品封面。
License: GNU General Public License v3.0
「DLsite 同人作品重命名工具」依据 RJ|VJ|BJ 号从 dlsite.com 爬取 "标题" 和 "社团" 等信息,按照自定义模板对文件夹批量格式化命名,并将文件夹封面修改为作品封面。
License: GNU General Public License v3.0
之前都是用ps加个透明正方形背景再转换ico然后设图标的,一直想找个快捷点的方法
爬取元数据失败[ConnectionError]:HTTPSConnectionPool(host='www.dlsite.com', port=443): Max retries exceeded with url: /maniax/api/=/product.json?workno=RJ281027&locale=zh_cn (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000193B7E69CD0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')))
2022-12-28 => 221228
个人习惯汉化标题名方便理解意思,替换会把我汉化过的中文名删了,500多部呢
希望能增加前后插入选项 单独替换文件夹封面 增加tag等
https://github.com/yodhcn/dlsite-doujin-renamer/blob/main/main.py#L162
behold, dlsite extended RJ format like below. it is bless to us but need a little change.
https://www.dlsite.com/maniax/work/=/product_id/RJ01003500.html/
Could you please make the series name available as renamer template?
作品聲優有多位只會抓取一位 還是有其他相關設定?
except RequestException as err:
Renamer.__handle_request_exception(rjcode, '爬取元数据', err) # 爬取元数据失败
except Exception as e:
Renamer.logger.error(f'[{rjcode}] -> 失败[Exception]:{str(e)}\n')
/////////////////////
except OSError as err:
Renamer.logger.error(f'[{rjcode}] -> 修改封面失败[OSError]:{str(err)}\n')
except Exception as e:
Renamer.logger.error(f'[{rjcode}] -> 失败[Exception]:{str(e)}\n')
/////////////////////
因为给定一些错误RJ号时运行错误且无显示,会傻芙芙的等着
例如 RJ425000 RJ334000
[RJ425000] -> 失败[Exception]:'NoneType' object is not subscriptable
[RJ334000] -> 失败[Exception]:local variable 'metadata' referenced before assignment
虽然目前已经能自定义cv名字之间的间隔符号,但cv名串外仍默认为半角括号。
希望将这部分也加入到可自定义的范围内。
cv_list_str = '(' + self.__delimiter.join(cv_list) + ')' if len(cv_list) > 0 else ''
是否可以将软件与excel进行联动
功能如下,向添加excel中添加新音声文件夹命名
若excel中存在该音声,则从excel中获取名称命名(有些音声标题可能经过翻译,但官方标题未翻译)
如题。几千个音声很难管理啊
买的BJ开头商抓比较多
dl上除了RJ号也还有VJ号啥的
希望能添加一个搜索VJ号的 如果更改太过麻烦
也希望能加个根据名字关键字来查询的功能 这样会更加方便
谢谢您
仓鼠党整理的时候往往会重复收集到同一作品的原版和不同汉化版本,不知道能不能命名规则里面再加上同一作品的其它语言RJ号呢
scraper.py
xxx_PROXY
envrequirements.txt
work_metadata.py
这样能让jellyfin以及emby等其他软件识别为专辑封面。
修改标签顺序无法生效,有更加具体的例子吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.