GithubHelp home page GithubHelp logo

yodhcn / doujin_voice_renamer Goto Github PK

View Code? Open in Web Editor NEW
39.0 3.0 17.0 26.33 MB

依据 RJ 号从 dlsite 爬取 “标题” 和 “社团” 等信息 ,可以按照自定义模板对文件夹批量格式化命名。停止维护,新项目在 https://github.com/yodhcn/dlsite-doujin-renamer

License: GNU General Public License v3.0

Python 100.00%
dlsite renamer python3 tkinter pyinstaller

doujin_voice_renamer's Introduction

Doujin_Voice_Renamer

配置文件使用说明

示例配置

"proxy": "http://127.0.0.1:7890",
"replace_rules": [],
"template": "[circle] title (workno)"

proxy

代理

例如:"proxy": "http://127.0.0.1:7890"

template

自定义模板

"circle", "workno", "title" 和 "cv", 模板中的这四个关键字将会被程序替换

默认模板: "template": "workno [circle] title (cv)"

例如:"template": "[circle] title (workno)"

重命名前:RJ149268 哀しみのイき人形

重命名后:[Hypnotic_Yanh] 哀しみのイき人形《催眠音声・男女版同梱》 (RJ149268)

replace_rules

自定义替换规则

例如,替换标题中的标点符号:

"replace_rules": [
    {
      "from": ":",
      "to": ""
    },
    {
      "from": "?",
      "to": ""
    },
    {
      "from": "/",
      "to": ""
    },
    {
      "from": "\"",
      "to": ""
    }
  ],

注意:

  1. config.json 文件使用 UTF-8 编码, 请不要用 Windows 系统自带的记事本进行编辑,推荐使用专业的文本编辑器,例如: Notepad3, Notepad++, vscode Notepad3
  2. 如需在自定义模板包含 "(cv)", 请将其放在模板字符串的末尾
  • 正确的例子: "template": "workno [circle] title (cv)"
  • 错误的例子: "template": "workno [circle] (cv) title" 这可能会导致在重命名后,文件夹名称中出现多余的空格

示例图片

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.