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.
- Checking amount of available chapters
- Folders and subfolders management
- Look for a specific manga to download
- Deal with paths for different mangas
- Download / update folders based on available chapters (multiple chapters download)
Maybe in the future I will take this and create a more generic downloader.