Update format.js

This commit is contained in:
Aleksandr Statciuk 2021-08-11 19:35:28 +03:00
parent d800aa0175
commit 11207cbbfd

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) {