aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rwxr-xr-xyt_dlp_plugins/extractor/radiko.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py
index 2dc7380..2c9112f 100755
--- a/yt_dlp_plugins/extractor/radiko.py
+++ b/yt_dlp_plugins/extractor/radiko.py
@@ -12,6 +12,7 @@ from yt_dlp.utils import (
join_nonempty,
parse_qs,
traverse_obj,
+ unescapeHTML,
unified_timestamp,
url_or_none,
update_url_query,
@@ -773,9 +774,9 @@ class RadikoTimeFreeIE(_RadikoBaseIE):
chapters = []
for track in data:
- artist = traverse_obj(track, ("artist", "name")) or track.get("artist_name")
+ artist = unescapeHTML(traverse_obj(track, ("artist", "name")) or track.get("artist_name"))
chapters.append({
- "title": join_nonempty(artist, track.get("title"), delim=" - "),
+ "title": unescapeHTML(join_nonempty(artist, track.get("title"), delim=" - ")),
"start_time": (datetime.datetime.fromisoformat(track.get("displayed_start_time")) - start).total_seconds(),
})