Support for purchased Volumes on Viz (#3474)
Support for purchased Volumes on Viz (#3474)

* Initial work, nearly working.

Finish the work of getting pages downloading for volumes

Applying some suggestions from the Draft PR

- Switched `var` to `let`
- Switched to using find instead of findIndex for _getMangas
- Removed extraneous print.
Switch to separate entries for Volumes/Chapters, use the ID to differentiate.

* Remove dupe querySelector from bad merge

* Adjust how we're retrieving the url for volumes.

* Switch to `if` for following `else if`since each are returning.

* Throw error in case of a an unsupported manga type (non volume/chapter)

* Remove sort, use spread operator to make the return of getMangas.

* Switch from requestRegex to matchAll

* Remove requestRegex

* Remove unused capture groups

* Call fetchDom with a querySelect directly.

* Another direct call to fetchDom with a query.

* Adds `i` flag to match for volume number.

* Adjusted login handling on volume paths.

* Fix some linting issues.

* Adjust volume page count regex to account for whitespace differences.

* Change to throwing error so Hakuneko can alert the user.

* Remove unreachable code
ronny1982/hakuneko,ronny1982/hakuneko,ronny1982/hakuneko