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)
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
Create a database, insert data and easily select it with Sqlite

sqliteBasics create a database, insert data and easily select it with Sqlite Watch on YouTube a step by step tutorial explaining this code: https://yo

Mariya 27 Dec 27, 2022
SQL for Humans™

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

Ken Reitz 6.9k Jan 03, 2023
A CRUD and REST api with mongodb atlas.

Movies_api A CRUD and REST api with mongodb atlas. Setup First import all the python dependencies in your virtual environment or globally by the follo

Pratyush Kongalla 0 Nov 09, 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
Simple DDL Parser to parse SQL (HQL, TSQL, AWS Redshift, Snowflake and other dialects) ddl files to json/python dict with full information about columns: types, defaults, primary keys, etc.

Simple DDL Parser Build with ply (lex & yacc in python). A lot of samples in 'tests/. Is it Stable? Yes, library already has about 5000+ usage per day

Iuliia Volkova 95 Jan 05, 2023
Estoult - a Python toolkit for data mapping with an integrated query builder for SQL databases

Estoult Estoult is a Python toolkit for data mapping with an integrated query builder for SQL databases. It currently supports MySQL, PostgreSQL, and

halcyon[nouveau] 15 Dec 29, 2022
Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API

Apache Libcloud - a unified interface for the cloud Apache Libcloud is a Python library which hides differences between different cloud provider APIs

The Apache Software Foundation 1.9k Dec 25, 2022
Neo4j Bolt driver for Python

Neo4j Bolt Driver for Python This repository contains the official Neo4j driver for Python. Each driver release (from 4.0 upwards) is built specifical

Neo4j 762 Dec 30, 2022
Pystackql - Python wrapper for StackQL

pystackql - Python Library for StackQL Python wrapper for StackQL Usage from pys

StackQL Studios 6 Jul 01, 2022
New generation PostgreSQL database adapter for the Python programming language

Psycopg 3 -- PostgreSQL database adapter for Python Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python. Installation Quick versio

The Psycopg Team 880 Jan 08, 2023
Sample code to extract data directly from the NetApp AIQUM MySQL Database

This sample code shows how to connect to the AIQUM Database and pull user quota details from it. AIQUM Requirements: 1. AIQUM 9.7 or higher. 2. An

1 Nov 08, 2021
A simple Python tool to transfer data from MySQL to SQLite 3.

MySQL to SQLite3 A simple Python tool to transfer data from MySQL to SQLite 3. This is the long overdue complimentary tool to my SQLite3 to MySQL. It

Klemen Tusar 126 Jan 03, 2023
Prometheus instrumentation library for Python applications

Prometheus Python Client The official Python 2 and 3 client for Prometheus. Three Step Demo One: Install the client: pip install prometheus-client Tw

Prometheus 3.2k Jan 07, 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
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
MariaDB connector using python and flask

MariaDB connector using python and flask This should work with flask and to be deployed on docker. Setting up stuff 1. Docker build and run docker bui

Bayangmbe Mounmo 1 Jan 11, 2022
Simple Python demo app that connects to an Oracle DB.

Cloud Foundry Sample Python Application Connecting to Oracle Simple Python demo app that connects to an Oracle DB. The app is based on the example pro

Daniel Buchko 1 Jan 10, 2022
Python script to clone SQL dashboard from one workspace to another

Databricks dashboard clone Unofficial project to allow Databricks SQL dashboard copy from one workspace to another. Resource clone Setup: Create a fil

Quentin Ambard 12 Jan 01, 2023
The Database Toolkit for Python

SQLAlchemy The Python SQL Toolkit and Object Relational Mapper Introduction SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that giv

SQLAlchemy 6.5k Jan 01, 2023