Code Monkey home page Code Monkey logo

op_pages's Introduction

Auto Download One Piece Chapters from MangaReader

The thing is. One Piece releases around 40 chapters a year.
I've been reading it since 2005 (8 years after release in 1997) and every week I download the new released chapter.

(in order to read them offline, if you want to know)

Well, I decided to automate the process.
The idea, is that the software will check the last downloaded chapter in the current folder and download the next one.
Each chapter will have its own folder, with the images inside of them.
The website I will use is MangaReader.

For accessing the page, as a user, this is are the steps:

  • Go to the Manga Page
  • Select the chapter
  • Select Vertical or Horizontal (for this, it will be vertical)

But the thing is: ads will lock actions in the page. So basically the interaction, as a user, is the following:

  • Go to the Manga Page (with specified chapter)
  • Afew ads will pop if interacting with the page
  • Reject all cookies
  • Select Vertical / Horizontal
  • NOW the page can be interacted with

We also have an important step that is folder and file management:

  • The images must be saved in a specific folder
  • The images must be saved with a specific order (00, 01, 02...)
  • The images are usually .jpg, but can be other image types (.jpeg, png,)

I'm currently using PyCharm to work, and using OP_Pages_Main_Notebook.py as my testing and developing area.
Once I'm satisfied with the results, I will transfer it to OP_Pages_Main without the notebook cells and create a executable file.

TODO (v1.X)

  • Checking amount of available chapters
  • Folders and subfolders management

TODO (v2.0)

  • Look for a specific manga to download
  • Deal with paths for different mangas
  • Download / update folders based on available chapters (multiple chapters download)

Future

Maybe in the future I will take this and create a more generic downloader.

op_pages's People

Contributors

nicolassp90 avatar

Watchers

 avatar

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.