Dlsite-doujin-renamer - Dlsite doujin renamer tool with python

Overview

dlsite-doujin-renamer

软件截图

Features

  • 支持深度查找带有 RJ 号的文件夹
  • 支持手动选择文件夹或拖拽文件夹到软件窗口
  • 支持在 config.json 中设置软件配置
  • 支持在 cache.db 中缓存从 dlsite.com 抓取的元数据

Config

示例配置

{
  "scaner_max_depth": 5,
  "scraper_locale": "zh_cn",
  "scraper_connect_timeout": 10,
  "scraper_read_timeout": 10,
  "scraper_sleep_interval": 3,
  "scraper_http_proxy": null,
  "renamer_template": "[maker_name][rjcode] work_name cv_list_str",
  "renamer_exclude_square_brackets_in_work_name_flag": false
}
  • scaner_max_depth 扫描器的扫描深度

  • scraper_locale 刮削器的刮削元数据的语言(["en_us", "ja_jp", "ko_kr", "zh_cn", "zh_tw"] 中的一个)

  • scraper_connect_timeout 刮削器的 requests 连接超时时间(秒)

  • scraper_connect_timeout 刮削器的 requests 读取超时时间(秒)

  • scraper_sleep_interval 刮削器的请求网页的时间间隔(秒)

  • scraper_http_proxy 刮削器的使用的代理(http代理),此项设置为 null 时,将尝试使用系统代理

  • renamer_template 命名器的命名模板,命名器将替换模板中的关键字:

    • rjcode 同人作品的 RJ 号
    • work_name 同人作品的名称
    • maker_id 同人作品的社团 RG 号
    • maker_name 同人作品的社团名称
    • release_date 同人作品的发售日期
    • cv_list_str 同人作品的声优列表

    例如:"renamer_template": "[maker_name] work_name (rjcode)"
    重命名前:RJ149268 哀しみのイき人形
    重命名后:[Hypnotic_Yanh] 哀しみのイき人形《催眠音声・男女版同梱》 (RJ149268)

  • renamer_exclude_square_brackets_in_work_name_flag 命名器的 work_name 中是否排除 【】 及其间的内容

【注】请不要使用 Windows 系统自带的「记事本」编辑配置文件,建议使用 Notepad3Notepad++Visual Studio Code 等专业的文本编辑器。本软件的配置文件 config.json 使用不带 BOM 的标准 UTF-8 编码,但在 Windows 记事本的语境中,所谓的「UTF-8」指的是带 BOM 的 UTF-8。因此,用 Windows 系统自带的记事本编辑配置文件后,会导致本软件无法正确读取配置。

You might also like...
ClickHouse Python Driver with native interface support

ClickHouse Python Driver ClickHouse Python Driver with native (TCP) interface support. Asynchronous wrapper is available here: https://github.com/myma

DataStax Python Driver for Apache Cassandra

DataStax Driver for Apache Cassandra A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) and DataStax Enterpri

Python client for Apache Kafka

Kafka Python client Python client for the Apache Kafka distributed stream processing system. kafka-python is designed to function much like the offici

PyMongo - the Python driver for MongoDB

PyMongo Info: See the mongo site for more information. See GitHub for the latest source. Documentation: Available at pymongo.readthedocs.io Author: Mi

Redis Python Client
Redis Python Client

redis-py The Python interface to the Redis key-value store. Python 2 Compatibility Note redis-py 3.5.x will be the last version of redis-py that suppo

Motor - the async Python driver for MongoDB and Tornado or asyncio
Motor - the async Python driver for MongoDB and Tornado or asyncio

Motor Info: Motor is a full-featured, non-blocking MongoDB driver for Python Tornado and asyncio applications. Documentation: Available at motor.readt

A fast PostgreSQL Database Client Library for Python/asyncio.
A fast PostgreSQL Database Client Library for Python/asyncio.

asyncpg -- A fast PostgreSQL Database Client Library for Python/asyncio asyncpg is a database interface library designed specifically for PostgreSQL a

Motor - the async Python driver for MongoDB and Tornado or asyncio
Motor - the async Python driver for MongoDB and Tornado or asyncio

Motor Info: Motor is a full-featured, non-blocking MongoDB driver for Python Tornado and asyncio applications. Documentation: Available at motor.readt

Redis client for Python asyncio (PEP 3156)

Redis client for Python asyncio. Redis client for the PEP 3156 Python event loop. This Redis library is a completely asynchronous, non-blocking client

Comments
  • RJ format has changed

    RJ format has changed

    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/

    opened by asuka431 2
  • 增强 CV 列表自定义 + 加入文件夹封面生成功能

    增强 CV 列表自定义 + 加入文件夹封面生成功能

    • 加入自动将文件夹封面修改为作品封面的功能
    • 添加关键字 cv_list_left cv_list_left 用于自定义 CV 列表两侧外括符号
    • 添加配置选项 make_folder_icon 用于自定义是否生成封面
      • 添加配置选项 remove_jpg_file 用于自定义是否删除文件夹中生成的作品封面图(不会影响文件夹封面)
    • 更新 README
    opened by Determancer 0
  • Advice

    Advice

    scraper.py

    • No need _getproxies(). requests will automatically detect xxx_PROXY env
    • use requests.session()

    requirements.txt

    • No need lock versions

    work_metadata.py

    • 下次建议用dataclasses。已有的如果怕改了出问题就算了
    opened by imba-tjd 0
Releases(0.2.5)
SAP HANA Connector in pure Python

SAP HANA Database Client for Python Important Notice This public repository is read-only and no longer maintained. The active maintained alternative i

SAP Archive 299 Nov 20, 2022
Micro ODM for MongoDB

Beanie - is an asynchronous ODM for MongoDB, based on Motor and Pydantic. It uses an abstraction over Pydantic models and Motor collections to work wi

Roman 993 Jan 03, 2023
This is a repository for a task assigned to me by Bilateral solutions!

Processing-Files-using-MySQL This is a repository for a task assigned to me by Bilateral solutions! Task: Make Folders named Processing,queue and proc

Kandal Khandeka 1 Nov 07, 2022
AWS SDK for Python

Boto3 - The AWS SDK for Python Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to wri

the boto project 7.8k Jan 04, 2023
Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.

Redash is designed to enable anyone, regardless of the level of technical sophistication, to harness the power of data big and small. SQL users levera

Redash 22.4k Dec 30, 2022
Pure Python MySQL Client

PyMySQL Table of Contents Requirements Installation Documentation Example Resources License This package contains a pure-Python MySQL client library,

PyMySQL 7.2k Jan 09, 2023
Python client for Apache Kafka

Kafka Python client Python client for the Apache Kafka distributed stream processing system. kafka-python is designed to function much like the offici

Dana Powers 5.1k Jan 08, 2023
A SQL linter and auto-formatter for Humans

The SQL Linter for Humans SQLFluff is a dialect-flexible and configurable SQL linter. Designed with ELT applications in mind, SQLFluff also works with

SQLFluff 5.5k Jan 08, 2023
A Telegram Bot to manage Redis Database.

A Telegram Bot to manage Redis database. Direct deploy on heroku Manual Deployment python3, git is required Clone repo git clone https://github.com/bu

Amit Sharma 4 Oct 21, 2022
Monty, Mongo tinified. MongoDB implemented in Python !

Monty, Mongo tinified. MongoDB implemented in Python ! Inspired by TinyDB and it's extension TinyMongo. MontyDB is: A tiny version of MongoDB, against

David Lai 522 Jan 01, 2023
Pony Object Relational Mapper

Downloads Pony Object-Relational Mapper Pony is an advanced object-relational mapper. The most interesting feature of Pony is its ability to write que

3.1k Jan 04, 2023
Some scripts for microsoft SQL server in old version.

MSSQL_Stuff Some scripts for microsoft SQL server which is in old version. Table of content Overview Usage References Overview These script works when

小离 5 Dec 29, 2022
Example Python codes that works with MySQL and Excel files (.xlsx)

Python x MySQL x Excel by Zinglecode Example Python codes that do the processes between MySQL database and Excel spreadsheet files. YouTube videos MyS

Potchara Puttawanchai 1 Feb 07, 2022
Python version of the TerminusDB client - for TerminusDB API and WOQLpy

TerminusDB Client Python Development status ⚙️ Python Package status 📦 Python version of the TerminusDB client - for TerminusDB API and WOQLpy Requir

TerminusDB 66 Dec 02, 2022
The JavaScript Database, for Node.js, nw.js, electron and the browser

The JavaScript Database Embedded persistent or in memory database for Node.js, nw.js, Electron and browsers, 100% JavaScript, no binary dependency. AP

Louis Chatriot 13.2k Jan 02, 2023
Records is a very simple, but powerful, library for making raw SQL queries to most relational databases.

Records: SQL for Humans™ Records is a very simple, but powerful, library for making raw SQL queries to most relational databases. Just write SQL. No b

Kenneth Reitz 6.9k Jan 03, 2023
Python ODBC bridge

pyodbc pyodbc is an open source Python module that makes accessing ODBC databases simple. It implements the DB API 2.0 specification but is packed wit

Michael Kleehammer 2.6k Dec 27, 2022
dbd is a database prototyping tool that enables data analysts and engineers to quickly load and transform data in SQL databases.

dbd: database prototyping tool dbd is a database prototyping tool that enables data analysts and engineers to quickly load and transform data in SQL d

Zdenek Svoboda 47 Dec 07, 2022
A HugSQL-inspired database library for Python

PugSQL PugSQL is a simple Python interface for using parameterized SQL, in files. See pugsql.org for the documentation. To install: pip install pugsql

Dan McKinley 558 Dec 24, 2022
A Python DB-API and SQLAlchemy dialect to Google Spreasheets

Note: shillelagh is a drop-in replacement for gsheets-db-api, with many additional features. You should use it instead. If you're using SQLAlchemy all

Beto Dealmeida 185 Jan 01, 2023