Update format.js

This commit is contained in:
Aleksandr Statciuk 2021-08-11 19:35:28 +03:00
parent d800aa0175
commit 11207cbbfd
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ function updateGroupTitle(channel) {
function normalizeUrl(channel) {
const normalized = normalize(channel.url, { stripWWW: false })
channel.updateUrl(normalized)
const decoded = decodeURIComponent(normalized).replace(/\s/g, '+')
channel.updateUrl(decoded)
}
function updateResolution(channel, metadata) {