Useful tools for Jav.
Project description
Jvav
Useful tools for Jav.
INSTALL
# python >= 3.10
pip install jvav -U
LIB
- DmmUtil
- JavDbUtil
- JavLibUtil
- JavBusUtil
- AvgleUtil
- MagnetUtil
- SukebeiUtil
- WikiUtil
- TransUtil
- SgpUtil
# A sample for DmmUtil
import jvav
util = jvav.DmmUtil(proxy_addr='http://127.0.0.1:7890')
util.get_nice_avs_by_star_name('小倉由菜')
util.get_score_by_id('cawd-441')
util.get_all_top_stars()
CMD
$ jvav -h
usage: cmd.py [-h] [-v] [-av1 AV1] [-av2 AV2] [-nc] [-uc] [-sr SR] [-srn SRN]
[-tg TG] [-pv1 PV1] [-pv2 PV2] [-tp] [-p PROXY]
optional arguments:
-h, --help show this help message and exit
-v, --version View the version number
-av1 AV1 Followed by a code, search for the code on JavBus
-av2 AV2 Followed by a code, search for the code on Sukebei
-nc Filter out high-definition torrents with subtitles
-uc Filter out uncensored torrents
-sr SR Followed by an actress name, get a list of high-rated codes based on the actress name
-srn SRN Followed by an actress name, get a list of the latest codes based on the actress name
-tg TG Followed by a keyword, search for codes based on the keyword
-pv1 PV1 Followed by a code, get the preview video corresponding to the code from DMM
-pv2 PV2 Followed by a code, get the preview video corresponding to the code from Avgle
-tp Get the top 25 ranking of DMM actresses
-p PROXY, --proxy PROXY
Followed by the proxy server address, by default reads the value of the http_proxy environment variable.
DEV
I use python-3.10.9 for development, please use python <= 3.10.
And it is recommended to use python virtual environment to avoid some unnecessary problems.
Here is my developing steps:
# python=3.10.9
git clone https://github.com/akynazh/jvav.git
cd jvav
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
And then you can enjoy coding! Remember to write or run test cases in tests/test.py.
Please make sure the test is okay before submitting your code~
TODO
The following are some functions to be implemented, and I look forward to your contribution~
- cache the successful query results locally
- support javdb.com (Thanks: @Steven-Fake)
- support db.msin.jp
- support JavDbUtil in cmd
- support SgpUtil in cmd
- support JavDbUtil in cmd
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 Jvav-1.5.3.tar.gz.
File metadata
- Download URL: Jvav-1.5.3.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f038c86f6fd32de16eafd5d692c26c8ff4ac03a8e1f0f18a631dd7852fe2ac
|
|
| MD5 |
8924a01a8ba8bcf79fc3a6987ce4eef1
|
|
| BLAKE2b-256 |
21b8f1c6bcc1674fbc01df226240b4d5e0ca232655be219b6d7f7ede3afd73c1
|
File details
Details for the file Jvav-1.5.3-py3-none-any.whl.
File metadata
- Download URL: Jvav-1.5.3-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b16014b2f47f90ec01d809f5d652a9c1a9931f8d538141079db5431a5c8950d
|
|
| MD5 |
3666b68d5a9bc54ee1331f649caa0d9b
|
|
| BLAKE2b-256 |
4fe6eb9a010e55ea8b1dd3e1ac0bdb2f19c07ad6ddf7505fe19906a22b24c731
|