aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml2
-rw-r--r--yt_music/__version__.py2
-rw-r--r--yt_music/__yt_music__.py2
3 files changed, 4 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index cb516ef..aab7a4e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "yt-music"
-version = "0.0.5"
+version = "0.0.6"
description = "A command line YouTube Music client."
authors = ["DemonKingSwarn <rockingswarn@gmail.com>"]
license = "GPLv3"
diff --git a/yt_music/__version__.py b/yt_music/__version__.py
index 7dcb47f..a952047 100644
--- a/yt_music/__version__.py
+++ b/yt_music/__version__.py
@@ -1 +1 @@
-__core__ = "0.0.5"
+__core__ = "0.0.6"
diff --git a/yt_music/__yt_music__.py b/yt_music/__yt_music__.py
index e1c4304..4b9e977 100644
--- a/yt_music/__yt_music__.py
+++ b/yt_music/__yt_music__.py
@@ -4,6 +4,7 @@ import subprocess
import platform
import os
import time
+import html
from pypresence import Presence
import httpx
@@ -130,6 +131,7 @@ def main():
matches = re.findall(pattern, fetch.text)
for match in matches:
video_id, title = match
+ title = html.unescape(title)
opt = f"{title} - {video_id}"
opts.append(opt)
ch = fzf.fzf_prompt(opts)