Fixed title casing
This commit is contained in:
1
parse.ts
1
parse.ts
@@ -79,5 +79,6 @@ export function parseSummary(description: string, name: string): VideoDescriptio
|
||||
b.path = name
|
||||
const titleMatch = name.match(/File:WCS \w+ (?<title>.+)\.[^.]+/)
|
||||
b.title = titleMatch?.groups ? titleMatch.groups['title'] : name
|
||||
b.title = b.title.trim()
|
||||
return (b as VideoDescription)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user