Giter Site home page Giter Site logo

getjump's Introduction

getjump

PyPI version Maintainability

Retrieve and save images from manga distribution sites using GigaViewer

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

Available Site

  • https://comic-action.com/episode/***.json
  • https://comic-days.com/episode/***.json
  • https://comic-gardo.com/episode/***.json
  • https://comic-trail.com/episode/***.json
  • https://comic-zenon.com/episode/***.json
  • https://comicborder.com/episode/***.json
  • https://comicbushi-web.com/episode/***.json
  • https://feelweb.jp/episode/***.json
  • https://kuragebunch.com/episode/***.json
  • https://magcomi.com/episode/***.json
  • https://pocket.shonenmagazine.com/episode/***.json
  • https://shonenjumpplus.com/episode/***.json
  • https://tonarinoyj.jp/episode/***.json
  • https://viewer.heros-web.com/episode/***.json
  • https://www.sunday-webry.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, saved = G.get(next_uri, overwrite=False)
    if saved:
        print("saved:", prev_title)
    print("next:", next_uri)

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: ./こちら葛飾区亀有公園前派出所/[第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話]こちら葛飾区亀有公園前派出所
done.

Help

$ 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)

available urls:
  - https://comic-action.com/episode/***.json
  - https://comic-days.com/episode/***.json
  - https://comic-gardo.com/episode/***.json
  - https://comic-trail.com/episode/***.json
  - https://comic-zenon.com/episode/***.json
  - https://comicborder.com/episode/***.json
  - https://comicbushi-web.com/episode/***.json
  - https://feelweb.jp/episode/***.json
  - https://kuragebunch.com/episode/***.json
  - https://magcomi.com/episode/***.json
  - https://pocket.shonenmagazine.com/episode/***.json
  - https://shonenjumpplus.com/episode/***.json
  - https://tonarinoyj.jp/episode/***.json
  - https://viewer.heros-web.com/episode/***.json
  - https://www.sunday-webry.com/episode/***.json

Screenshot

image

License

MIT


Reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.