Skip to main content

Get and save images from jump web viewer

Project description

getjump

PyPI version Maintainability

Get and save images from jump web viewer

Note: Secondary distribution of downloaded image data is prohibited. Please keep it to private use.

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
...

License

MIT

Reference

Project details


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.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getjump-0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file getjump-0.3.tar.gz.

File metadata

  • Download URL: getjump-0.3.tar.gz
  • Upload date:
  • Size: 4.8 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

Hashes for getjump-0.3.tar.gz
Algorithm Hash digest
SHA256 3e4e2ebec66b77b67f1538b6d0692f6e3ee2545d19ed26a1a83cd1e80aafb8f9
MD5 9a063a2809572b38a18bbb7396ee8a50
BLAKE2b-256 f7cd0281981ec5ef1411b289e6ad2bee1a4d145e02a0320825ecd28ff578f377

See more details on using hashes here.

File details

Details for the file getjump-0.3-py3-none-any.whl.

File metadata

  • Download URL: getjump-0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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

Hashes for getjump-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 591da036b5746d55150f5edfc9dc6e4078f5b750c108762780a5231f77621a04
MD5 bda5d1b97d97b82e7c8079506e8a6253
BLAKE2b-256 3427b550ae1e802ca412adc098441b2c70c103271f28d719aae4c40fcd8b3034

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page