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] [-b] [-d DIR] [-f] [-o] url
Get images from jump web viewer
positional arguments:
url target url
optional arguments:
-h, --help show this help message and exit
-b, --bulk download series in bulk (default: False)
-d DIR, --savedir DIR
directory to save downloaded images (default: .)
-f, --first download only first page (default: False)
-o, --overwrite overwrite (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.9.tar.gz
(6.2 kB
view details)
Built Distribution
getjump-0.9-py3-none-any.whl
(7.1 kB
view details)
File details
Details for the file getjump-0.9.tar.gz
.
File metadata
- Download URL: getjump-0.9.tar.gz
- Upload date:
- Size: 6.2 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 | 87d349d6b6f3d8191bb87cc475a1b70235903c599015ad05dab914e552f03aea |
|
MD5 | 5cb1309655840f4d2378fdfec918abde |
|
BLAKE2b-256 | b9cec2f3c6d76cb50716d09c1c973f4ab1b185c6cce75e40d4169d973c0f4d0b |
File details
Details for the file getjump-0.9-py3-none-any.whl
.
File metadata
- Download URL: getjump-0.9-py3-none-any.whl
- Upload date:
- Size: 7.1 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 | ad03e46fb9045a614b137e452b394b4fa5ae545b3094ca55d3c1dbde83ab55e6 |
|
MD5 | 5ec72d75d3284ed70253215e9e099104 |
|
BLAKE2b-256 | f6bd8dac1c55495f1c8d957357dbec2f726b879bf80b6cb95aae2dfc721c80ff |