Get and save images from jump web viewer
Project description
getjump
- Retrieve and save images from manga distribution sites using GigaViewer
- If you read retrieved comics as conbined PDF, use: eggplants/mkbook
Note: Redistribution of downloaded image data is prohibited. Please keep it to private use.
Screenshot
Valid URL Formats
<host>/(episode|magazine|volume)/<number>
<host>/(episode|magazine|volume)/<number>.json
Available Hosts
https://comic-action.com
https://comic-days.com
https://comic-earthstar.com
https://comic-gardo.com
https://comic-ogyaaa.com
https://comic-trail.com
https://comic-zenon.com
https://comicborder.com
https://comic-growl.com
https://feelweb.jp
https://kuragebunch.com
https://magcomi.com
https://ourfeel.jp
https://pocket.shonenmagazine.com
https://shonenjumpplus.com
https://tonarinoyj.jp
https://viewer.heros-web.com
https://www.sunday-webry.com
Install
pip install getjump
CLI
Usage
$ jget https://shonenjumpplus.com/episode/13932016480028799982.json
get: https://shonenjumpplus.com/episode/13932016480028799982.json
...
saved: ./阿波連さんははかれない/[1話]阿波連さんははかれない
done.
$ jget -b https://shonenjumpplus.com/episode/10833519556325021912.json
get: https://shonenjumpplus.com/episode/10833519556325021912.json
...
saved: ./こちら葛飾区亀有公園前派出所/[第1話]こちら葛飾区亀有公園前派出所
next: https://shonenjumpplus.com/episode/10833519556325022016.json
...
...
...
saved: ./こちら葛飾区亀有公園前派出所/[第1953話]こちら葛飾区亀有公園前派出所
done.
Help
$ jget -h
usage: jget [-h] [-b] [-d DIR] [-f] [-o] [-m] [-u ID] [-p PW] [-q] [-V] url
Get images from jump web viewer
positional arguments:
url target url
options:
-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)
-m, --metadata save metadata as json (default: False)
-u ID, --username ID username if you want to login (default: None)
-p PW, --password PW password if you want to login (default: None)
-q, --quiet disable console print (default: False)
-V, --version show program's version number and exit
available urls:
- https://comic-action.com
- https://comic-days.com
- https://comic-earthstar.com
- https://comic-gardo.com
- https://comic-ogyaaa.com
- https://comic-trail.com
- https://comic-zenon.com
- https://comicborder.com
- https://comic-growl.com
- https://feelweb.jp
- https://kuragebunch.com
- https://magcomi.com
- https://ourfeel.jp
- https://pocket.shonenmagazine.com
- https://shonenjumpplus.com
- https://www.sunday-webry.com
- https://tonarinoyj.jp
- https://viewer.heros-web.com
Library
Overview
from getjump import GetJump
g = GetJump() # create session
g.get(
url: str,
save_path: str = ".",
overwrite: bool = True,
only_first: bool = False,
username: str | None = None,
password: str | None = None,
)
# >>> (next_uri: str | None, prev_title: str, saved: bool)
g.login(
url: str,
username: str | None = None,
password: str | None = None,
overwrite: bool = False,
)
# >>> logined_response: requests.Response | None
g.is_valid_uri(url: str)
# >>> is_valid_uri: bool
Download all series
To download all series at once:
from getjump import GetJump as g
G = g()
next_uri = "https://shonenjumpplus.com/episode/13932016480028799982.json"
while next_uri:
next_uri, prev_title, saved = G.get(next_uri, overwrite=False)
if saved:
print("saved:", prev_title)
print("next:", next_uri)
Login
To get purchased or login-required works:
from getjump import GetJump as g
G = g()
G.login("https://shonenjumpplus.com", username="***", password="***")
G.login("https://comic-days.com", username="***", password="***")
...
G.get(...)
License
MIT
Reference
- fa0311/jump-downloader
- 少年ジャンププラスの漫画をダウンロードするライブラリ - yuki0311.com
- はてな開発の新マンガビューワを「少年ジャンプ+」が採用。集英社と共同でサイト成長、マネタイズの両面を加速 - プレスリリース - 株式会社はてな
- はてな、集英社「少年ジャンプ+」ブラウザ版への機能提供を拡張。ブラウザ版への電子版「週刊少年ジャンプ」定期購読が可能に|株式会社はてなのプレスリリース
- GigaViewer の検索結果 - プレスリリース - 株式会社はてな
- GigaViewer(ギガビューワー)を作るにあたって - daily thinking running
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-2.6.2.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file getjump-2.6.2.tar.gz
.
File metadata
- Download URL: getjump-2.6.2.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86a93d33fac2db8c1d616d75c2c8f51fde43410a5f1ff04adf7e161f0f28a171 |
|
MD5 | 7565b25bd5e9e7d3c6ddcb9faa4bdef7 |
|
BLAKE2b-256 | 4b39cc4d01bd268eda1e7960429d4c623b44f48c028d53e0ed0f1392ee4f3d6a |
File details
Details for the file getjump-2.6.2-py3-none-any.whl
.
File metadata
- Download URL: getjump-2.6.2-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d32ac7b6c1db99882bdf5c0c27d5081bde9989a1c6938b644b7ef7f66fbd19 |
|
MD5 | 579d354436885956eb9b6154e5dc9c9d |
|
BLAKE2b-256 | 60ed58b0726ed05c6ca1de7c83e565b98020202442cd095e01632f6d37c4f350 |