Aivean / royalroad-downloader

https://royalroad.com book downloader
MIT License
57 stars 4 forks source link

[scallop] Error: Validation failure for 'from-chapter' option parameters: #13

Closed mstevens closed 6 years ago

mstevens commented 6 years ago

Hi,

Trying to download, but I get a validation error every time:

mstevens@osaka:~/royal-road-download % java -jar royalroadl-downloader-assembly-1.3.0.jar https://www.royalroadl.com/fiction/18619
[scallop] Error: Validation failure for 'from-chapter' option parameters: 

My java is:

mstevens@osaka:~/royal-road-download % java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
gibbed commented 6 years ago

It's a bug with the recent version, I found you can work around the problem by adding --from-chapter=1.

Aivean commented 6 years ago

Well, what can I say, shame on me for the lack of testing. Fixed in 1.3.1.

Thank you for reporting!

mstevens commented 6 years ago

Just to confirm I tested and it works nicely now. Thanks!