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 DBAPI simplified

Facata A Python library that provides a simplified alternative to DBAPI 2. It provides a facade in front of DBAPI 2 drivers. Table of Contents Install

Tony Locke 44 Nov 17, 2021
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
Generate database table diagram from SQL data definition.

sql2diagram Generate database table diagram from SQL data definition. e.g. "CREATE TABLE ..." See Example below How does it works? Analyze the SQL to

django-cas-ng 1 Feb 08, 2022
Script em python para carregar os arquivos de cnpj dos dados públicos da Receita Federal em MYSQL.

cnpj-mysql Script em python para carregar os arquivos de cnpj dos dados públicos da Receita Federal em MYSQL. Dados públicos de cnpj no site da Receit

17 Dec 25, 2022
A database migrations tool for SQLAlchemy.

Alembic is a database migrations tool written by the author of SQLAlchemy. A migrations tool offers the following functionality: Can emit ALTER statem

SQLAlchemy 1.7k Jan 01, 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
Databank is an easy-to-use Python library for making raw SQL queries in a multi-threaded environment.

Databank Databank is an easy-to-use Python library for making raw SQL queries in a multi-threaded environment. No ORM, no frills. Thread-safe. Only ra

snapADDY GmbH 4 Apr 04, 2022
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
python-bigquery Apache-2python-bigquery (🥈34 · ⭐ 3.5K · 📈) - Google BigQuery API client library. Apache-2

Python Client for Google BigQuery Querying massive datasets can be time consuming and expensive without the right hardware and infrastructure. Google

Google APIs 550 Jan 01, 2023
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

Kenneth Reitz 6.9k Jan 07, 2023
DBMS Mini-project: Recruitment Management System

# Hire-ME DBMS Mini-project: Recruitment Management System. 💫 ✨ Features Python + MYSQL using mysql.connector library Recruiter and Client Panel Beau

Karan Gandhi 35 Dec 23, 2022
aiosql - Simple SQL in Python

aiosql - Simple SQL in Python SQL is code. Write it, version control it, comment it, and run it using files. Writing your SQL code in Python programs

Will Vaughn 1.1k Jan 08, 2023
google-cloud-bigtable Apache-2google-cloud-bigtable (🥈31 · ⭐ 3.5K) - Google Cloud Bigtable API client library. Apache-2

Python Client for Google Cloud Bigtable Google Cloud Bigtable is Google's NoSQL Big Data database service. It's the same database that powers many cor

Google APIs 39 Dec 03, 2022
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
A Relational Database Management System for a miniature version of Twitter written in MySQL with CLI in python.

Mini-Twitter-Database This was done as a database design course project at Amirkabir university of technology. This is a relational database managemen

Ali 12 Nov 23, 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
A selection of SQLite3 databases to practice querying from.

Dummy SQL Databases This is a collection of dummy SQLite3 databases, for learning and practicing SQL querying, generated with the VS Code extension Ge

1 Feb 26, 2022
Creating a python package to convert /transfer excelsheet data to a mysql Database Table

Creating a python package to convert /transfer excelsheet data to a mysql Database Table

Odiwuor Lameck 1 Jan 07, 2022
aiomysql is a library for accessing a MySQL database from the asyncio

aiomysql aiomysql is a "driver" for accessing a MySQL database from the asyncio (PEP-3156/tulip) framework. It depends on and reuses most parts of PyM

aio-libs 1.5k Jan 03, 2023
Py2neo is a client library and toolkit for working with Neo4j from within Python

Py2neo Py2neo is a client library and toolkit for working with Neo4j from within Python applications. The library supports both Bolt and HTTP and prov

py2neo.org 1.2k Jan 02, 2023