From fafa2fa12553c1db5e801044047b8f3fcaebbeee Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Sun, 30 Oct 2022 15:51:20 -0500 Subject: [PATCH] Add missing bracket to playlist strip regex --- thrimshim/thrimshim/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimshim/thrimshim/main.py b/thrimshim/thrimshim/main.py index 9c902f5..fc7e077 100644 --- a/thrimshim/thrimshim/main.py +++ b/thrimshim/thrimshim/main.py @@ -200,7 +200,7 @@ def get_row(ident): and response["video_title"].startswith(app.title_header) ): response["video_title"] = response["video_title"][len(app.title_header):] - description_playlist_re = re.compile(r"\n\n({}\n(- .* \[https://youtube.com/playlist\?list=[A-Za-z0-9_-]+\n)+\n)?{}$".format( + description_playlist_re = re.compile(r"\n\n({}\n(- .* \[https://youtube.com/playlist\?list=[A-Za-z0-9_-]+\]\n)+\n)?{}$".format( re.escape(DESCRIPTION_PLAYLISTS_HEADER), re.escape(app.description_footer), ))