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://www.corocoro.jp
https://comic-action.com
https://comic-days.com
https://comic-gardo.com
https://comic-ogyaaa.com
https://comic-trail.com
https://comic-zenon.com
https://comicborder.com
https://comicbushi-web.com
https://feelweb.jp
https://kuragebunch.com
https://magcomi.com
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://www.corocoro.jp
- https://comic-action.com
- https://comic-days.com
- https://comic-gardo.com
- https://comic-ogyaaa.com
- https://comic-trail.com
- https://comic-zenon.com
- https://comicborder.com
- https://comicbushi-web.com
- https://feelweb.jp
- https://kuragebunch.com
- https://magcomi.com
- 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.4.1.tar.gz
(11.0 kB
view details)
Built Distribution
File details
Details for the file getjump-2.4.1.tar.gz
.
File metadata
- Download URL: getjump-2.4.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd321c94aab96229fe823e165fc94c0dd340f84e03968cf0a8aa284e0743c31 |
|
MD5 | 1df3b0969bb2db245a4cc702fb0e44df |
|
BLAKE2b-256 | 106c8e0beae946986746e25e9446aacf4e44cd7bbc5867ebe32707f19978b227 |
File details
Details for the file getjump-2.4.1-py3-none-any.whl
.
File metadata
- Download URL: getjump-2.4.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad91b31663e00c15093b6ea9a162104e4918dc30ebfd7866c60768d3ff9e035 |
|
MD5 | 93448b91f80e040dbf31a450ffe0ea4f |
|
BLAKE2b-256 | 0314a85020e7dd930d5c43ffebce3497f818c51eca291187c6a07c919d688af3 |