Kaynağa Gözat

[cspan] Unescape path (Closes #8365)

Sergey M․ 9 yıl önce
ebeveyn
işleme
68a0ea15b4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      youtube_dl/extractor/cspan.py

+ 1 - 1
youtube_dl/extractor/cspan.py

@@ -113,7 +113,7 @@ class CSpanIE(InfoExtractor):
                     'tbr': int_or_none(get_text_attr(quality, 'bitrate')),
                     'tbr': int_or_none(get_text_attr(quality, 'bitrate')),
                 })
                 })
             if not formats:
             if not formats:
-                path = get_text_attr(f, 'path')
+                path = unescapeHTML(get_text_attr(f, 'path'))
                 if not path:
                 if not path:
                     continue
                     continue
                 formats = self._extract_m3u8_formats(
                 formats = self._extract_m3u8_formats(