From a41ec5437034375ffa854786436fc981c6ae9a62 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 22 Nov 2020 12:27:42 +0000 Subject: [PATCH] Remove any ending --- newswire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newswire.py b/newswire.py index e7fa4a935..b95daac4e 100644 --- a/newswire.py +++ b/newswire.py @@ -425,7 +425,7 @@ def YTchannelToAtomFeed(url: str) -> str: """ if 'youtube.com/channel/' not in url: return url - channelId = url.split('youtube.com/channel/')[1] + channelId = url.split('youtube.com/channel/')[1].strip() return 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId