Check that the chapter has content before parsing
Check that the chapter has content before parsing

Trying to select the first element in line 87 will throw a list index out of range error if there is no content matching the selector.
Zomega/leech,kemayo/leech