Download visual novel metadata and screenshots from vndb.org
Project description
vndb_dl
vndb_dl is a command-line utility that allows to download VN metadata and screenshots from vndb.org.
Usage
vndb_dl can be used from the command line. You can either specify an id to use with the -i option:
$ vndb_dl -i 7
or an vndb.org url:
$ vndb_dl -u https://vndb.org/v7
Bulk downloading is supported with ranges:
$ vndb_dl -i 7-12, 14 # Will download vns with id [7; 12] and vn with id 14
By default, vn_dl will output metadata about each vn in a metadata.txt and metadata.json file. To disable either or both of these, set their flags to false:
$ vndb_dl -i 7 -j False -p False
By default, vndb_dl will output into the working directory. You can change the directory with the directory flag:
$ vndb_dl -i 7-12 -d download_folder
This covers full usage of vndb_dl.
$ vndb_dl --help
usage: vndb_dl [-h] [-j JSON] [-p PLAIN] [-i ID [ID ...]] [-u URL [URL ...]]
[-d DIRECTORY]
Download visual novel information from vndb.org.
optional arguments:
-h, --help show this help message and exit
-j JSON, --json JSON Parse the visual novel metadata as a JSON file in the
visual novel folder ([True]/False)
-p PLAIN, --plain PLAIN
Parse the visual novel metadata as a plain text file
in the visual novel folder ([True]/False)
-i ID [ID ...], --id ID [ID ...]
vndb id of the visual novel; where in vndb.org/v###,
the ### is the vn's id. --id accepts both list of
numbers (eg. 5 6 7) and ranges (eg. 5-7) as well as
both (eg. 5-7 9 11). Commas and spaces are accepted
(eg 5-7, 40 49, 51), as long as each character is
separated by a space (57,59 will give you vn n.5759).
-u URL [URL ...], --url URL [URL ...]
vndb url of the visual novel
-d DIRECTORY, --directory DIRECTORY
Source directory where the data for each visual novel
will be stored
For developers
Any contributions are very appreciated. Please submit a pull request if you find improvements.
Documentation
All documentation can be found in sphinx format under the docs folder.
Unit tests
Tests are located in the tests folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vndb_dl-0.1.0.tar.gz.
File metadata
- Download URL: vndb_dl-0.1.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efecc6ec5f0c9077c470997e5c8e94e7086c20f7f50919d5074d71674e53391a
|
|
| MD5 |
35dbdd548c0a4c002831a5c8145be84e
|
|
| BLAKE2b-256 |
ede0fb85b6f74bc8077c65fd753f2817ddc6d53095a147dc28848dba7c6ce8c3
|
File details
Details for the file vndb_dl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vndb_dl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c00d8a065bc5fbaaf57fabd4831a612ca61ac4e5d8e168dbe41e79ebb817d9
|
|
| MD5 |
137a7bac1ad34c32757e5fc2c577cfbd
|
|
| BLAKE2b-256 |
b094928199b18e9c0e834a64d909cb487bcd82c041ad42744860c2ef0773a24b
|