Get and save images from jump web viewer
Project description
getjump
Get and save images from jump web viewer
Note: Secondary distribution of downloaded image data is prohibited. Please keep it to private use.
Available Site
https://shonenjumpplus.com/episode/***.json
https://comic-days.com/episode/***.json
Install
# Python>=3.9
pip install getjump
Library
import getjump as g
G = g.GetJump()
next_uri = "https://shonenjumpplus.com/episode/13932016480028799982.json"
while next_uri:
next_uri, prev_title = G.get(next_uri, overwrite=False)
print("saved:", prev_title)
print("next:", next_uri)
CLI
$ jget -h
usage: jget [-h] [-d DIR] [-o] [-b] url
Get images from jump web viewer
positional arguments:
url target url (ex:
https://shonenjumpplus.com/episode/***.json)
optional arguments:
-h, --help show this help message and exit
-d DIR, --savedir DIR
directory to save downloaded images (default: .)
-o, --overwrite overwrite or not (default: False)
-b, --bulk download series in bulk or not (default: False)
$ jget https://shonenjumpplus.com/episode/13932016480028799982.json
saved: ./阿波連さんははかれない/[1話]阿波連さんははかれない
$ jget -b https://shonenjumpplus.com/episode/10833519556325021912.json
saved: ./こちら葛飾区亀有公園前派出所/[第1話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/10833519556325022016.json
saved: ./こちら葛飾区亀有公園前派出所/[第2話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/10833519556325022128.json
saved: ./こちら葛飾区亀有公園前派出所/[第3話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/10833519556325022500.json
...
saved: ./こちら葛飾区亀有公園前派出所/[第1950話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/13932016480028744844.json
saved: ./こちら葛飾区亀有公園前派出所/[第1951話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/13932016480028744845.json
saved: ./こちら葛飾区亀有公園前派出所/[第1952話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/13932016480028744846.json
saved: ./こちら葛飾区亀有公園前派出所/[第1953話]こちら葛飾区亀有公園前派出所
next: None
$
License
MIT
Reference
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
getjump-0.6.tar.gz
(5.1 kB
view details)
Built Distribution
getjump-0.6-py3-none-any.whl
(6.0 kB
view details)
File details
Details for the file getjump-0.6.tar.gz
.
File metadata
- Download URL: getjump-0.6.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e1d638e4037cbce58cec6fe4950fbd4b457cb87f4e7b7d18df50caad26e3d5 |
|
MD5 | 0b99595610823d2ee87db227fbd32033 |
|
BLAKE2b-256 | 733947d851910946370cd8d7214812f592f3b863a85b331d0bef7a7cbb4eb041 |
File details
Details for the file getjump-0.6-py3-none-any.whl
.
File metadata
- Download URL: getjump-0.6-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd70117bb9aa7ede067a71898588c45e80852b449341ec06e6cc1a776f70901 |
|
MD5 | 5800751aea0ce4655c2441c85b43140e |
|
BLAKE2b-256 | ca96eed7d1fe1ba85ec30d4b7a37ffbb26c6389d1e53875d6e93c64731245448 |