Using the 'next_selector' I came across a scenario where the last chapter had a reflexiv 'next link'.
Processing this Leech currently just starts looping endlessly. This pull request adds a simple loop detection and assumes there are no more chapters, when a chapter link appears a second time.
When a work around for such a case does already exist (i.e. with a more fancy next selector?) it should probably be documented.
I hope its ok, that I presented this with a pull request and not an issue.
Have a nice day.
Good evening.
Using the 'next_selector' I came across a scenario where the last chapter had a reflexiv 'next link'. Processing this Leech currently just starts looping endlessly. This pull request adds a simple loop detection and assumes there are no more chapters, when a chapter link appears a second time.
When a work around for such a case does already exist (i.e. with a more fancy next selector?) it should probably be documented.
I hope its ok, that I presented this with a pull request and not an issue. Have a nice day.
-ClaasJG