Easily download full comics from https://readcomiconline.li.
- GUI;
- Compile pages into a single PDF;
- Queue multiple downloads.
| Resource | At |
|---|---|
| Python 3.x | https://www.python.org/downloads/ |
| Selenium (Python) | https://selenium-python.readthedocs.io/installation.html |
| Requests | https://pypi.org/project/requests/ |
| img2pdf | https://pypi.org/project/img2pdf/ |
- Having installed all dependencies, run
main.pyusing Python 3.x. - Paste comic main URL from https://readcomiconline.li into the URL field.
URL example: https://readcomiconline.li/comic/ultimate-spider-man-2000.
- Specify the path where this particular comic shall be stored.
- Set issue range. (Start = End implies downloading only the given issue.)
- Click Fetch Media Links.
- After all links have been fetched, click Download Comics. Wait until it finishes.
- Enjoy your comic!
The workflow is divided into two parts: image link fetching and image downloading.
After adding an issue to the queue and clicking Fetch Media Links, the first part of the process starts: using Selenium, the program emulates user interaction, scrolling down until all img tags within the divImage container have the attribute src=https://somelink. Naturally, there is a scrolling limit to account for cases where loading gets stuck. After every comic page has been loaded, the program saves
the image links into a temporary text file.
Next, when clicking Download Comics, the program will iterate through issues that are pending and already had their links fetched. With requests, it will download (in an ordered manner) every comic page into the specified path. Finally, it will compile (if the user checked the "Save as PDF" box)
all images into a PDF, which is the final comic.
- Add links file importing;
- Add automatic download after link fetching;
- Add webdriver choice to GUI;
- Disable row deletion when link fetching and/or downloading.
