Removed slashes from nginx title

This commit is contained in:
Sarlay 2022-08-26 13:50:00 +02:00
parent cc9f7755c9
commit fb34ee007d
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class NginxProvider : MainAPI() {
val metadataDocument = app.get(url, authHeader).document // get the metadata nfo file
val title = metadataDocument.selectFirst("title")?.text() ?: url.substringBeforeLast("/").substringAfterLast("/")
val title = metadataDocument.selectFirst("title")?.text()?.replace("/", "") ?: url.substringBeforeLast("/").substringAfterLast("/")
// gets the content between slashes: https://g.com/nameOfShow/tvshow.nfo
val description = metadataDocument.selectFirst("plot")?.text()