Update format.js

This commit is contained in:
Aleksandr Statciuk
2021-08-11 19:35:28 +03:00
parent 92d0e7fc9b
commit e659d587d0

View File

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