Fix grouple parser
This commit is contained in:
@@ -118,7 +118,7 @@ abstract class GroupleRepository(
|
|||||||
val regex = Regex("['\"].*?['\"]")
|
val regex = Regex("['\"].*?['\"]")
|
||||||
return matches.map { x ->
|
return matches.map { x ->
|
||||||
val parts = regex.findAll(x.value).toList()
|
val parts = regex.findAll(x.value).toList()
|
||||||
val url = parts[1].value.removeSurrounding('"', '\'') +
|
val url = parts[0].value.removeSurrounding('"', '\'') +
|
||||||
parts[2].value.removeSurrounding('"', '\'')
|
parts[2].value.removeSurrounding('"', '\'')
|
||||||
MangaPage(
|
MangaPage(
|
||||||
id = url.longHashCode(),
|
id = url.longHashCode(),
|
||||||
|
|||||||
Reference in New Issue
Block a user