Girbons / comics-downloader

tool to download comics and manga in pdf/epub/cbr/cbz from a website
MIT License
453 stars 48 forks source link

ALL flag not working correctly with readallcomics.com #126

Closed ObiSandwich closed 1 year ago

ObiSandwich commented 1 year ago

Describe the bug

Unable to download All comics on readallcomics.com

To Reproduce Steps to reproduce the behavior:

./comics-downloader -all -format=cbz -url=https://readallcomics.com/category/eight-billion-genies/
INFO[0000] Downloading...                               
 100% |████████████████████████████████████████|  [26s:0s]INFO[0030] CBZ file correctly saved                     
 100% |████████████████████████████████████████|  [21s:0s]INFO[0054] CBZ file correctly saved                     
 100% |████████████████████████████████████████|  [41s:0s]INFO[0097] CBZ file correctly saved                     
 100% |████████████████████████████████████████|  [40s:0s]INFO[0140] CBZ file correctly saved                     
 100% |████████████████████████████████████████|  [38s:0s]INFO[0181] CBZ file correctly saved                     
 100% |████████████████████████████████████████|  [9s:0s]INFO[0191] CBZ file correctly saved 

Expected behavior

Instead of downloading the full range from a URL using the -all flag, only one comic is downloaded, eg. issue 1.

Or, in the case of a different comic: https://readallcomics.com/category/once-future/ Only 4 comics are downloaded, eg. issues 1, 4, 15, 24.

Desktop (please complete the following information):

Additional context

Tested on a second computer with the same spec as above.