mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-23 00:49:53 -07:00
bump version, changelog, hide merged sources
This commit is contained in:
@@ -93,9 +93,9 @@ class HitomiSearchMetadata: RaisedSearchMetadata() {
|
||||
const val BASE_URL = "https://hitomi.la"
|
||||
|
||||
fun hlIdFromUrl(url: String)
|
||||
= url.split('/').last().substringBeforeLast('.')
|
||||
= url.split('/').last().split('-').last().substringBeforeLast('.')
|
||||
|
||||
fun urlFromHlId(id: String)
|
||||
= "$BASE_URL/galleries/$id.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user