Removed slashes from nginx title
This commit is contained in:
parent
cc9f7755c9
commit
fb34ee007d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue