[Grouple] Change getPageUrl exception

pull/238/head
Koitharu 3 years ago
parent 270890f841
commit e6839b1270
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -215,7 +215,7 @@ internal abstract class GroupleParser(
}
} catch (e: NoSuchElementException) {
assert(false) { e.toString() }
candidates.random()
candidates.randomOrNull() ?: throw ParseException("No page url candidates", page.url, e)
}
}

Loading…
Cancel
Save