Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eggplants/dojinvoice_db
Make DB of Dojinvoice (DLsite)
https://github.com/eggplants/dojinvoice_db
database dlsite dojin python3 selenium test
Last synced: 2 months ago
JSON representation
Make DB of Dojinvoice (DLsite)
- Host: GitHub
- URL: https://github.com/eggplants/dojinvoice_db
- Owner: eggplants
- License: mit
- Created: 2020-11-09T08:34:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T17:14:20.000Z (3 months ago)
- Last Synced: 2024-11-29T16:11:48.229Z (2 months ago)
- Topics: database, dlsite, dojin, python3, selenium, test
- Language: Python
- Homepage:
- Size: 331 KB
- Stars: 11
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dojinvoice_db
[![Release Package](
)](
) [![pre-commit.ci status](
)](
)[![PyPI version](
)](
) [![Maintainability](
)](
) [![MIT License](
)](LICENSE)Dojinvoice (同人音声) DB
- DLsite
-## How to run
```bash
pip install dojinvoice-db
``````shellsession
$ dvdb
Download pages? >> (`y` or Enter)
work(s) have already been committed to existing db!
Now: ./dlsite/00001.html
Now: ./dlsite/00002.html
Now: ./dlsite/00003.html
...
```## DB Schema
```python
create_table(
'''work (
work_id text primary key,
detail_link text not null,
title text not null,
circle text not null,
circle_link text not null,
category text not null,
sale_date integer not null,
age_zone text not null,
file_format text not null,
file_size text not null,
description str not null,
monopoly integer not null,
price integer not null
) '''
)
create_table(
'''option (
work_id text primary key,
thumbnail text,
cien_link text,
series text,
chobit_link text,
sales integer,
favorites integer,
trial_link text,
trial_size integer,
rating real
) '''
)
create_table(
'''writer (
work_id text,
writer text,
primary key (work_id, writer)
) '''
)
create_table(
'''scenario (
work_id text,
scenario text,
primary key (work_id, scenario)
) '''
)
create_table(
'''illustrator (
work_id text,
illustrator text,
primary key (work_id, illustrator)
) '''
)
create_table(
'''voice (
work_id text,
voice text,
primary key (work_id, voice)
) '''
)
create_table(
'''musician (
work_id text,
musician text,
primary key (work_id, musician)
) '''
)
create_table(
'''genre (
work_id text,
genre text,
primary key (work_id, genre)
) '''
)
```